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

com.aliyun.sdk.service.agency20221216.models.EditEndUserStatusRequest 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 EditEndUserStatusRequest} extends {@link RequestModel}
 *
 * 

EditEndUserStatusRequest

*/ public class EditEndUserStatusRequest extends Request { @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("CreditStatus") private String creditStatus; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("Uid") private Long uid; private EditEndUserStatusRequest(Builder builder) { super(builder); this.creditStatus = builder.creditStatus; this.uid = builder.uid; } public static Builder builder() { return new Builder(); } public static EditEndUserStatusRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return creditStatus */ public String getCreditStatus() { return this.creditStatus; } /** * @return uid */ public Long getUid() { return this.uid; } public static final class Builder extends Request.Builder { private String creditStatus; private Long uid; private Builder() { super(); } private Builder(EditEndUserStatusRequest request) { super(request); this.creditStatus = request.creditStatus; this.uid = request.uid; } /** *

Shutdown Status

*
    *
  • postPayFreeze, the account have been blocked

    *
  • *
  • postPayThaw, the account have been unlocked

    *
  • *
* * example: *

postPayFreeze

*/ public Builder creditStatus(String creditStatus) { this.putQueryParameter("CreditStatus", creditStatus); this.creditStatus = creditStatus; return this; } /** *

UID

* * example: *

1792155717328010

*/ public Builder uid(Long uid) { this.putQueryParameter("Uid", uid); this.uid = uid; return this; } @Override public EditEndUserStatusRequest build() { return new EditEndUserStatusRequest(this); } } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy