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> name, java.util.Optional<java.lang.String> email, java.util.Optional<? extends CreateAccountType> type, 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.String>name()Filter connected accounts by name.java.util.Optional<java.lang.Long>skip()java.lang.StringtoString()java.util.Optional<CreateAccountType>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.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(CreateAccountType type)Filter connected accounts by AccountType.ListAccountsRequestwithType(java.util.Optional<? extends CreateAccountType> type)Filter connected accounts by AccountType.
-
-
-
Constructor Detail
-
ListAccountsRequest
public ListAccountsRequest(java.util.Optional<java.lang.String> name, java.util.Optional<java.lang.String> email, java.util.Optional<? extends CreateAccountType> type, 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
-
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<CreateAccountType> 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`).
Filtering by `type=guest` is not currently supported.
-
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 ListAccountsRequest.Builder builder()
-
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(CreateAccountType 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`).
Filtering by `type=guest` is not currently supported.
-
withType
public ListAccountsRequest withType(java.util.Optional<? extends CreateAccountType> 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`).
Filtering by `type=guest` is not currently supported.
-
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
-
-