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

com.volcengine.billing.model.CancelInvitationRequest Maven / Gradle / Ivy

The newest version!
/*
 * billing
 * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
 *
 * OpenAPI spec version: common-version
 * 
 *
 * NOTE: This class is auto generated by the swagger code generator program.
 * https://github.com/swagger-api/swagger-codegen.git
 * Do not edit the class manually.
 */

package com.volcengine.billing.model;

import java.util.Objects;
import java.util.Arrays;
import com.google.gson.TypeAdapter;
import com.google.gson.annotations.JsonAdapter;
import com.google.gson.annotations.SerializedName;
import com.google.gson.stream.JsonReader;
import com.google.gson.stream.JsonWriter;
import io.swagger.v3.oas.annotations.media.Schema;
import java.io.IOException;
import javax.validation.constraints.*;
import javax.validation.Valid;
/**
 * CancelInvitationRequest
 */



public class CancelInvitationRequest {
  @SerializedName("AuthID")
  private String authID = null;

  @SerializedName("InvitationType")
  private Integer invitationType = null;

  @SerializedName("Relation")
  private Integer relation = null;

  @SerializedName("RelationID")
  private String relationID = null;

  @SerializedName("SubAccountID")
  private Integer subAccountID = null;

  public CancelInvitationRequest authID(String authID) {
    this.authID = authID;
    return this;
  }

   /**
   * Get authID
   * @return authID
  **/
  @Schema(description = "")
  public String getAuthID() {
    return authID;
  }

  public void setAuthID(String authID) {
    this.authID = authID;
  }

  public CancelInvitationRequest invitationType(Integer invitationType) {
    this.invitationType = invitationType;
    return this;
  }

   /**
   * Get invitationType
   * @return invitationType
  **/
  @NotNull
  @Schema(required = true, description = "")
  public Integer getInvitationType() {
    return invitationType;
  }

  public void setInvitationType(Integer invitationType) {
    this.invitationType = invitationType;
  }

  public CancelInvitationRequest relation(Integer relation) {
    this.relation = relation;
    return this;
  }

   /**
   * Get relation
   * @return relation
  **/
  @Schema(description = "")
  public Integer getRelation() {
    return relation;
  }

  public void setRelation(Integer relation) {
    this.relation = relation;
  }

  public CancelInvitationRequest relationID(String relationID) {
    this.relationID = relationID;
    return this;
  }

   /**
   * Get relationID
   * @return relationID
  **/
  @NotNull
  @Schema(required = true, description = "")
  public String getRelationID() {
    return relationID;
  }

  public void setRelationID(String relationID) {
    this.relationID = relationID;
  }

  public CancelInvitationRequest subAccountID(Integer subAccountID) {
    this.subAccountID = subAccountID;
    return this;
  }

   /**
   * Get subAccountID
   * @return subAccountID
  **/
  @Schema(description = "")
  public Integer getSubAccountID() {
    return subAccountID;
  }

  public void setSubAccountID(Integer subAccountID) {
    this.subAccountID = subAccountID;
  }


  @Override
  public boolean equals(java.lang.Object o) {
    if (this == o) {
      return true;
    }
    if (o == null || getClass() != o.getClass()) {
      return false;
    }
    CancelInvitationRequest cancelInvitationRequest = (CancelInvitationRequest) o;
    return Objects.equals(this.authID, cancelInvitationRequest.authID) &&
        Objects.equals(this.invitationType, cancelInvitationRequest.invitationType) &&
        Objects.equals(this.relation, cancelInvitationRequest.relation) &&
        Objects.equals(this.relationID, cancelInvitationRequest.relationID) &&
        Objects.equals(this.subAccountID, cancelInvitationRequest.subAccountID);
  }

  @Override
  public int hashCode() {
    return Objects.hash(authID, invitationType, relation, relationID, subAccountID);
  }


  @Override
  public String toString() {
    StringBuilder sb = new StringBuilder();
    sb.append("class CancelInvitationRequest {\n");
    
    sb.append("    authID: ").append(toIndentedString(authID)).append("\n");
    sb.append("    invitationType: ").append(toIndentedString(invitationType)).append("\n");
    sb.append("    relation: ").append(toIndentedString(relation)).append("\n");
    sb.append("    relationID: ").append(toIndentedString(relationID)).append("\n");
    sb.append("    subAccountID: ").append(toIndentedString(subAccountID)).append("\n");
    sb.append("}");
    return sb.toString();
  }

  /**
   * Convert the given object to string with each line indented by 4 spaces
   * (except the first line).
   */
  private String toIndentedString(java.lang.Object o) {
    if (o == null) {
      return "null";
    }
    return o.toString().replace("\n", "\n    ");
  }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy