All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.aliyun.sdk.service.agency20221216.models.GetUnassociatedCustomerResponseBody Maven / Gradle / Ivy

The newest version!
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.agency20221216.models;

import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;

/**
 * 
 * {@link GetUnassociatedCustomerResponseBody} extends {@link TeaModel}
 *
 * 

GetUnassociatedCustomerResponseBody

*/ public class GetUnassociatedCustomerResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("Code") private String code; @com.aliyun.core.annotation.NameInMap("InviteInfoList") private InviteInfoList inviteInfoList; @com.aliyun.core.annotation.NameInMap("Message") private String message; @com.aliyun.core.annotation.NameInMap("PageInfo") private PageInfo pageInfo; @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; @com.aliyun.core.annotation.NameInMap("Success") private Boolean success; private GetUnassociatedCustomerResponseBody(Builder builder) { this.code = builder.code; this.inviteInfoList = builder.inviteInfoList; this.message = builder.message; this.pageInfo = builder.pageInfo; this.requestId = builder.requestId; this.success = builder.success; } public static Builder builder() { return new Builder(); } public static GetUnassociatedCustomerResponseBody create() { return builder().build(); } /** * @return code */ public String getCode() { return this.code; } /** * @return inviteInfoList */ public InviteInfoList getInviteInfoList() { return this.inviteInfoList; } /** * @return message */ public String getMessage() { return this.message; } /** * @return pageInfo */ public PageInfo getPageInfo() { return this.pageInfo; } /** * @return requestId */ public String getRequestId() { return this.requestId; } /** * @return success */ public Boolean getSuccess() { return this.success; } public static final class Builder { private String code; private InviteInfoList inviteInfoList; private String message; private PageInfo pageInfo; private String requestId; private Boolean success; /** *

Error Code, Candidate Value:

*
    *
  • 200: OK
  • *
  • 1109: System error
  • *
* * example: *

200

*/ public Builder code(String code) { this.code = code; return this; } /** *

List of Invitation Information

*/ public Builder inviteInfoList(InviteInfoList inviteInfoList) { this.inviteInfoList = inviteInfoList; return this; } /** *

Message information

* * example: *

success

*/ public Builder message(String message) { this.message = message; return this; } /** *

Pagination Information

*/ public Builder pageInfo(PageInfo pageInfo) { this.pageInfo = pageInfo; return this; } /** *

Request ID, Alibaba Cloud will track errors with this.

* * example: *

23309219-4A34-589D-A3E0-9B2A3BFFD24F

*/ public Builder requestId(String requestId) { this.requestId = requestId; return this; } /** *

Candidate Value: True/False, which indicates whether the current API call itself is successful. It does not guarantee the success of subsequent business operations.

* * example: *

true

*/ public Builder success(Boolean success) { this.success = success; return this; } public GetUnassociatedCustomerResponseBody build() { return new GetUnassociatedCustomerResponseBody(this); } } /** * * {@link GetUnassociatedCustomerResponseBody} extends {@link TeaModel} * *

GetUnassociatedCustomerResponseBody

*/ public static class InviteInfo extends TeaModel { @com.aliyun.core.annotation.NameInMap("AccountNickname") private String accountNickname; @com.aliyun.core.annotation.NameInMap("Email") private String email; @com.aliyun.core.annotation.NameInMap("GmtCreate") private String gmtCreate; @com.aliyun.core.annotation.NameInMap("InviteId") private Long inviteId; @com.aliyun.core.annotation.NameInMap("Status") private Integer status; private InviteInfo(Builder builder) { this.accountNickname = builder.accountNickname; this.email = builder.email; this.gmtCreate = builder.gmtCreate; this.inviteId = builder.inviteId; this.status = builder.status; } public static Builder builder() { return new Builder(); } public static InviteInfo create() { return builder().build(); } /** * @return accountNickname */ public String getAccountNickname() { return this.accountNickname; } /** * @return email */ public String getEmail() { return this.email; } /** * @return gmtCreate */ public String getGmtCreate() { return this.gmtCreate; } /** * @return inviteId */ public Long getInviteId() { return this.inviteId; } /** * @return status */ public Integer getStatus() { return this.status; } public static final class Builder { private String accountNickname; private String email; private String gmtCreate; private Long inviteId; private Integer status; /** *

The name of Customer who are to be invited.

* * example: *

My Client

*/ public Builder accountNickname(String accountNickname) { this.accountNickname = accountNickname; return this; } /** *

The Email of Customer who are to be invited.

* * example: *

[email protected]

*/ public Builder email(String email) { this.email = email; return this; } /** *

The time of email been sent out.

* * example: *

2023-05-10

*/ public Builder gmtCreate(String gmtCreate) { this.gmtCreate = gmtCreate; return this; } /** *

Invitation ID

* * example: *

190

*/ public Builder inviteId(Long inviteId) { this.inviteId = inviteId; return this; } /** *

Invitation Status:

*
    *
  • 0 No visit on registration URL
  • *
  • 1 Successful Registration
  • *
  • 2 Unsuccessful Registration
  • *
  • 3 Registration URL have been visited, but no submitted sheet/ticket.
  • *
* * example: *

1

*/ public Builder status(Integer status) { this.status = status; return this; } public InviteInfo build() { return new InviteInfo(this); } } } /** * * {@link GetUnassociatedCustomerResponseBody} extends {@link TeaModel} * *

GetUnassociatedCustomerResponseBody

*/ public static class InviteInfoList extends TeaModel { @com.aliyun.core.annotation.NameInMap("InviteInfo") private java.util.List < InviteInfo> inviteInfo; private InviteInfoList(Builder builder) { this.inviteInfo = builder.inviteInfo; } public static Builder builder() { return new Builder(); } public static InviteInfoList create() { return builder().build(); } /** * @return inviteInfo */ public java.util.List < InviteInfo> getInviteInfo() { return this.inviteInfo; } public static final class Builder { private java.util.List < InviteInfo> inviteInfo; /** * InviteInfo. */ public Builder inviteInfo(java.util.List < InviteInfo> inviteInfo) { this.inviteInfo = inviteInfo; return this; } public InviteInfoList build() { return new InviteInfoList(this); } } } /** * * {@link GetUnassociatedCustomerResponseBody} extends {@link TeaModel} * *

GetUnassociatedCustomerResponseBody

*/ public static class PageInfo extends TeaModel { @com.aliyun.core.annotation.NameInMap("Page") private Integer page; @com.aliyun.core.annotation.NameInMap("PageSize") private Integer pageSize; @com.aliyun.core.annotation.NameInMap("Total") private Integer total; private PageInfo(Builder builder) { this.page = builder.page; this.pageSize = builder.pageSize; this.total = builder.total; } public static Builder builder() { return new Builder(); } public static PageInfo create() { return builder().build(); } /** * @return page */ public Integer getPage() { return this.page; } /** * @return pageSize */ public Integer getPageSize() { return this.pageSize; } /** * @return total */ public Integer getTotal() { return this.total; } public static final class Builder { private Integer page; private Integer pageSize; private Integer total; /** *

Pagination, current page.

* * example: *

1

*/ public Builder page(Integer page) { this.page = page; return this; } /** *

Pagination, record number on each page.

* * example: *

10

*/ public Builder pageSize(Integer pageSize) { this.pageSize = pageSize; return this; } /** *

Pagination, page volume in total.

* * example: *

12

*/ public Builder total(Integer total) { this.total = total; return this; } public PageInfo build() { return new PageInfo(this); } } } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy