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

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

There is a newer version: 0.1.129
Show 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;
/**
 * HandleInvitationRequest
 */



public class HandleInvitationRequest {
  @SerializedName("Action")
  private Integer action = null;

  @SerializedName("AuthID")
  private String authID = null;

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

  @SerializedName("MajorAccountID")
  private Integer majorAccountID = null;

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

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

  public HandleInvitationRequest action(Integer action) {
    this.action = action;
    return this;
  }

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

  public void setAction(Integer action) {
    this.action = action;
  }

  public HandleInvitationRequest 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 HandleInvitationRequest 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 HandleInvitationRequest majorAccountID(Integer majorAccountID) {
    this.majorAccountID = majorAccountID;
    return this;
  }

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

  public void setMajorAccountID(Integer majorAccountID) {
    this.majorAccountID = majorAccountID;
  }

  public HandleInvitationRequest 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 HandleInvitationRequest 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;
  }


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

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


  @Override
  public String toString() {
    StringBuilder sb = new StringBuilder();
    sb.append("class HandleInvitationRequest {\n");
    
    sb.append("    action: ").append(toIndentedString(action)).append("\n");
    sb.append("    authID: ").append(toIndentedString(authID)).append("\n");
    sb.append("    invitationType: ").append(toIndentedString(invitationType)).append("\n");
    sb.append("    majorAccountID: ").append(toIndentedString(majorAccountID)).append("\n");
    sb.append("    relation: ").append(toIndentedString(relation)).append("\n");
    sb.append("    relationID: ").append(toIndentedString(relationID)).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