Skip to content

Commit

Permalink
Update FindAttachmentQueryParams to return FindAttachmentQueryParams (#…
Browse files Browse the repository at this point in the history
…208)

Make FindAttachmentQueryParams return FindAttachmentQueryParams

https://nylas.atlassian.net/browse/TW-2559

# License

I confirm that this contribution is made under the terms of the MIT
license and that I have the authority necessary to make this
contribution on behalf of its copyright owner.
  • Loading branch information
atejada authored Feb 13, 2024
1 parent 7f87707 commit 91f7ee7
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/main/kotlin/com/nylas/models/FindAttachmentQueryParams.kt
Original file line number Diff line number Diff line change
Expand Up @@ -13,17 +13,17 @@ data class FindAttachmentQueryParams(
val messageId: String,
) : IQueryParams {
/**
* Builder for [FindEventQueryParams].
* Builder for [FindAttachmentQueryParams].
* @property messageId Message ID to find the attachment in.
*/
data class Builder(
private val messageId: String,
) {
/**
* Builds a new [FindEventQueryParams] instance.
* @return [FindEventQueryParams]
* Builds a new [FindAttachmentQueryParams] instance.
* @return [FindAttachmentQueryParams]
*/
fun build() = FindEventQueryParams(
fun build() = FindAttachmentQueryParams(
messageId,
)
}
Expand Down

0 comments on commit 91f7ee7

Please sign in to comment.