Class ListAccountsRequest
- java.lang.Object
-
- io.moov.sdk.models.operations.ListAccountsRequest
-
public class ListAccountsRequest extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classListAccountsRequest.Builder
-
Constructor Summary
Constructors Constructor Description ListAccountsRequest()ListAccountsRequest(java.util.Optional<java.lang.String> xMoovVersion, java.util.Optional<java.lang.String> name, java.util.Optional<java.lang.String> email, java.util.Optional<? extends AccountType> type, java.util.Optional<java.lang.Boolean> includeGuest, java.util.Optional<java.lang.String> foreignID, java.util.Optional<java.lang.Boolean> includeDisconnected, java.util.Optional<? extends CapabilityID> capability, java.util.Optional<? extends CapabilityStatus> capabilityStatus, java.util.Optional<java.lang.Long> skip, java.util.Optional<java.lang.Long> count)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ListAccountsRequest.Builderbuilder()java.util.Optional<CapabilityID>capability()Filter connected accounts by the capability.java.util.Optional<CapabilityStatus>capabilityStatus()Filter connected accounts by the capability.java.util.Optional<java.lang.Long>count()java.util.Optional<java.lang.String>email()Filter connected accounts by email address.booleanequals(java.lang.Object o)java.util.Optional<java.lang.String>foreignID()Serves as an optional alias from a foreign/external system which can be used to reference this resource.inthashCode()java.util.Optional<java.lang.Boolean>includeDisconnected()Filter disconnected accounts.java.util.Optional<java.lang.Boolean>includeGuest()Filter accounts with AccountType guest.java.util.Optional<java.lang.String>name()Filter connected accounts by name.java.util.Optional<java.lang.Long>skip()java.lang.StringtoString()java.util.Optional<AccountType>type()Filter connected accounts by AccountType.ListAccountsRequestwithCapability(CapabilityID capability)Filter connected accounts by the capability.ListAccountsRequestwithCapability(java.util.Optional<? extends CapabilityID> capability)Filter connected accounts by the capability.ListAccountsRequestwithCapabilityStatus(CapabilityStatus capabilityStatus)Filter connected accounts by the capability.ListAccountsRequestwithCapabilityStatus(java.util.Optional<? extends CapabilityStatus> capabilityStatus)Filter connected accounts by the capability.ListAccountsRequestwithCount(long count)ListAccountsRequestwithCount(java.util.Optional<java.lang.Long> count)ListAccountsRequestwithEmail(java.lang.String email)Filter connected accounts by email address.ListAccountsRequestwithEmail(java.util.Optional<java.lang.String> email)Filter connected accounts by email address.ListAccountsRequestwithForeignID(java.lang.String foreignID)Serves as an optional alias from a foreign/external system which can be used to reference this resource.ListAccountsRequestwithForeignID(java.util.Optional<java.lang.String> foreignID)Serves as an optional alias from a foreign/external system which can be used to reference this resource.ListAccountsRequestwithIncludeDisconnected(boolean includeDisconnected)Filter disconnected accounts.ListAccountsRequestwithIncludeDisconnected(java.util.Optional<java.lang.Boolean> includeDisconnected)Filter disconnected accounts.ListAccountsRequestwithIncludeGuest(boolean includeGuest)Filter accounts with AccountType guest.ListAccountsRequestwithIncludeGuest(java.util.Optional<java.lang.Boolean> includeGuest)Filter accounts with AccountType guest.ListAccountsRequestwithName(java.lang.String name)Filter connected accounts by name.ListAccountsRequestwithName(java.util.Optional<java.lang.String> name)Filter connected accounts by name.ListAccountsRequestwithSkip(long skip)ListAccountsRequestwithSkip(java.util.Optional<java.lang.Long> skip)ListAccountsRequestwithType(AccountType type)Filter connected accounts by AccountType.ListAccountsRequestwithType(java.util.Optional<? extends AccountType> type)Filter connected accounts by AccountType.ListAccountsRequestwithXMoovVersion(java.lang.String xMoovVersion)Specify an API version.ListAccountsRequestwithXMoovVersion(java.util.Optional<java.lang.String> xMoovVersion)Specify an API version.java.util.Optional<java.lang.String>xMoovVersion()Specify an API version.
-
-
-
Constructor Detail
-
ListAccountsRequest
public ListAccountsRequest(java.util.Optional<java.lang.String> xMoovVersion, java.util.Optional<java.lang.String> name, java.util.Optional<java.lang.String> email, java.util.Optional<? extends AccountType> type, java.util.Optional<java.lang.Boolean> includeGuest, java.util.Optional<java.lang.String> foreignID, java.util.Optional<java.lang.Boolean> includeDisconnected, java.util.Optional<? extends CapabilityID> capability, java.util.Optional<? extends CapabilityStatus> capabilityStatus, java.util.Optional<java.lang.Long> skip, java.util.Optional<java.lang.Long> count)
-
ListAccountsRequest
public ListAccountsRequest()
-
-
Method Detail
-
xMoovVersion
public java.util.Optional<java.lang.String> xMoovVersion()
Specify an API version.API versioning follows the format `vYYYY.QQ.BB`, where - `YYYY` is the year - `QQ` is the two-digit month for the first month of the quarter (e.g., 01, 04, 07, 10) - `BB` is the build number, starting at `.01`, for subsequent builds in the same quarter. - For example, `v2024.01.00` is the initial release of the first quarter of 2024.
The `latest` version represents the most recent development state. It may include breaking changes and should be treated as a beta release.
-
name
public java.util.Optional<java.lang.String> name()
Filter connected accounts by name.If provided, this query will attempt to find matches against the following Account and Profile fields: <ul> <li>Account `displayName`</li> <li>Individual Profile `firstName`, `middleName`, and `lastName`</li> <li>Business Profile `legalBusinessName`</li> </ul>
-
email
public java.util.Optional<java.lang.String> email()
Filter connected accounts by email address.Provide the full email address to filter by email.
-
type
public java.util.Optional<AccountType> type()
Filter connected accounts by AccountType.If the `type` parameter is used in combination with `name`, only the corresponding type's name fields will be searched. For example, if `type=business` and `name=moov`, the search will attempt to find matches against the display name and Business Profile name fields (`legalBusinessName`, and `doingBusinessAs`).
-
includeGuest
public java.util.Optional<java.lang.Boolean> includeGuest()
Filter accounts with AccountType guest.If true, the response will include guest accounts.
-
foreignID
public java.util.Optional<java.lang.String> foreignID()
Serves as an optional alias from a foreign/external system which can be used to reference this resource.
-
includeDisconnected
public java.util.Optional<java.lang.Boolean> includeDisconnected()
Filter disconnected accounts.If true, the response will include disconnected accounts.
-
capability
public java.util.Optional<CapabilityID> capability()
Filter connected accounts by the capability.
-
capabilityStatus
public java.util.Optional<CapabilityStatus> capabilityStatus()
Filter connected accounts by the capability.
-
skip
public java.util.Optional<java.lang.Long> skip()
-
count
public java.util.Optional<java.lang.Long> count()
-
builder
public static final ListAccountsRequest.Builder builder()
-
withXMoovVersion
public ListAccountsRequest withXMoovVersion(java.lang.String xMoovVersion)
Specify an API version.API versioning follows the format `vYYYY.QQ.BB`, where - `YYYY` is the year - `QQ` is the two-digit month for the first month of the quarter (e.g., 01, 04, 07, 10) - `BB` is the build number, starting at `.01`, for subsequent builds in the same quarter. - For example, `v2024.01.00` is the initial release of the first quarter of 2024.
The `latest` version represents the most recent development state. It may include breaking changes and should be treated as a beta release.
-
withXMoovVersion
public ListAccountsRequest withXMoovVersion(java.util.Optional<java.lang.String> xMoovVersion)
Specify an API version.API versioning follows the format `vYYYY.QQ.BB`, where - `YYYY` is the year - `QQ` is the two-digit month for the first month of the quarter (e.g., 01, 04, 07, 10) - `BB` is the build number, starting at `.01`, for subsequent builds in the same quarter. - For example, `v2024.01.00` is the initial release of the first quarter of 2024.
The `latest` version represents the most recent development state. It may include breaking changes and should be treated as a beta release.
-
withName
public ListAccountsRequest withName(java.lang.String name)
Filter connected accounts by name.If provided, this query will attempt to find matches against the following Account and Profile fields: <ul> <li>Account `displayName`</li> <li>Individual Profile `firstName`, `middleName`, and `lastName`</li> <li>Business Profile `legalBusinessName`</li> </ul>
-
withName
public ListAccountsRequest withName(java.util.Optional<java.lang.String> name)
Filter connected accounts by name.If provided, this query will attempt to find matches against the following Account and Profile fields: <ul> <li>Account `displayName`</li> <li>Individual Profile `firstName`, `middleName`, and `lastName`</li> <li>Business Profile `legalBusinessName`</li> </ul>
-
withEmail
public ListAccountsRequest withEmail(java.lang.String email)
Filter connected accounts by email address.Provide the full email address to filter by email.
-
withEmail
public ListAccountsRequest withEmail(java.util.Optional<java.lang.String> email)
Filter connected accounts by email address.Provide the full email address to filter by email.
-
withType
public ListAccountsRequest withType(AccountType type)
Filter connected accounts by AccountType.If the `type` parameter is used in combination with `name`, only the corresponding type's name fields will be searched. For example, if `type=business` and `name=moov`, the search will attempt to find matches against the display name and Business Profile name fields (`legalBusinessName`, and `doingBusinessAs`).
-
withType
public ListAccountsRequest withType(java.util.Optional<? extends AccountType> type)
Filter connected accounts by AccountType.If the `type` parameter is used in combination with `name`, only the corresponding type's name fields will be searched. For example, if `type=business` and `name=moov`, the search will attempt to find matches against the display name and Business Profile name fields (`legalBusinessName`, and `doingBusinessAs`).
-
withIncludeGuest
public ListAccountsRequest withIncludeGuest(boolean includeGuest)
Filter accounts with AccountType guest.If true, the response will include guest accounts.
-
withIncludeGuest
public ListAccountsRequest withIncludeGuest(java.util.Optional<java.lang.Boolean> includeGuest)
Filter accounts with AccountType guest.If true, the response will include guest accounts.
-
withForeignID
public ListAccountsRequest withForeignID(java.lang.String foreignID)
Serves as an optional alias from a foreign/external system which can be used to reference this resource.
-
withForeignID
public ListAccountsRequest withForeignID(java.util.Optional<java.lang.String> foreignID)
Serves as an optional alias from a foreign/external system which can be used to reference this resource.
-
withIncludeDisconnected
public ListAccountsRequest withIncludeDisconnected(boolean includeDisconnected)
Filter disconnected accounts.If true, the response will include disconnected accounts.
-
withIncludeDisconnected
public ListAccountsRequest withIncludeDisconnected(java.util.Optional<java.lang.Boolean> includeDisconnected)
Filter disconnected accounts.If true, the response will include disconnected accounts.
-
withCapability
public ListAccountsRequest withCapability(CapabilityID capability)
Filter connected accounts by the capability.
-
withCapability
public ListAccountsRequest withCapability(java.util.Optional<? extends CapabilityID> capability)
Filter connected accounts by the capability.
-
withCapabilityStatus
public ListAccountsRequest withCapabilityStatus(CapabilityStatus capabilityStatus)
Filter connected accounts by the capability.
-
withCapabilityStatus
public ListAccountsRequest withCapabilityStatus(java.util.Optional<? extends CapabilityStatus> capabilityStatus)
Filter connected accounts by the capability.
-
withSkip
public ListAccountsRequest withSkip(long skip)
-
withSkip
public ListAccountsRequest withSkip(java.util.Optional<java.lang.Long> skip)
-
withCount
public ListAccountsRequest withCount(long count)
-
withCount
public ListAccountsRequest withCount(java.util.Optional<java.lang.Long> count)
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-