This repository has been archived by the owner on Jul 24, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #84 from freee/auto-generated
2.19.0
- Loading branch information
Showing
16 changed files
with
660 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
|
||
|
||
# UserCapabilityWithConfirm | ||
|
||
|
||
## Properties | ||
|
||
Name | Type | Description | Notes | ||
------------ | ------------- | ------------- | ------------- | ||
**confirm** | **Boolean** | 「自動で経理」の操作 | [optional] | ||
**create** | **Boolean** | 「取得した明細」の作成 | [optional] | ||
**destroy** | **Boolean** | 「取得した明細」の削除 | [optional] | ||
**read** | **Boolean** | 「取得した明細」の閲覧 | [optional] | ||
**update** | **Boolean** | 「取得した明細」の更新 | [optional] | ||
|
||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
|
||
|
||
# UserCapabilityWithSync | ||
|
||
|
||
## Properties | ||
|
||
Name | Type | Description | Notes | ||
------------ | ------------- | ------------- | ------------- | ||
**create** | **Boolean** | 「口座」の作成 | [optional] | ||
**destroy** | **Boolean** | 「口座」の削除 | [optional] | ||
**read** | **Boolean** | 「口座」の閲覧 | [optional] | ||
**sync** | **Boolean** | 「口座の同期」の実行(廃止予定) | [optional] | ||
**update** | **Boolean** | 「口座」の更新 | [optional] | ||
|
||
|
||
|
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
216 changes: 216 additions & 0 deletions
216
sdk/src/main/java/jp/co/freee/accounting/models/UserCapabilityWithConfirm.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,216 @@ | ||
/* | ||
* freee API | ||
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) | ||
* | ||
* The version of the OpenAPI document: v1.0 | ||
* | ||
* | ||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). | ||
* https://openapi-generator.tech | ||
* Do not edit the class manually. | ||
*/ | ||
|
||
|
||
package jp.co.freee.accounting.models; | ||
|
||
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.annotations.ApiModel; | ||
import io.swagger.annotations.ApiModelProperty; | ||
import java.io.IOException; | ||
|
||
/** | ||
* UserCapabilityWithConfirm | ||
*/ | ||
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") | ||
public class UserCapabilityWithConfirm { | ||
public static final String SERIALIZED_NAME_CONFIRM = "confirm"; | ||
@SerializedName(SERIALIZED_NAME_CONFIRM) | ||
private Boolean confirm; | ||
|
||
public static final String SERIALIZED_NAME_CREATE = "create"; | ||
@SerializedName(SERIALIZED_NAME_CREATE) | ||
private Boolean create; | ||
|
||
public static final String SERIALIZED_NAME_DESTROY = "destroy"; | ||
@SerializedName(SERIALIZED_NAME_DESTROY) | ||
private Boolean destroy; | ||
|
||
public static final String SERIALIZED_NAME_READ = "read"; | ||
@SerializedName(SERIALIZED_NAME_READ) | ||
private Boolean read; | ||
|
||
public static final String SERIALIZED_NAME_UPDATE = "update"; | ||
@SerializedName(SERIALIZED_NAME_UPDATE) | ||
private Boolean update; | ||
|
||
public UserCapabilityWithConfirm() { | ||
} | ||
|
||
public UserCapabilityWithConfirm confirm(Boolean confirm) { | ||
|
||
this.confirm = confirm; | ||
return this; | ||
} | ||
|
||
/** | ||
* 「自動で経理」の操作 | ||
* @return confirm | ||
**/ | ||
@javax.annotation.Nullable | ||
@ApiModelProperty(example = "true", value = "「自動で経理」の操作") | ||
|
||
public Boolean getConfirm() { | ||
return confirm; | ||
} | ||
|
||
|
||
public void setConfirm(Boolean confirm) { | ||
this.confirm = confirm; | ||
} | ||
|
||
|
||
public UserCapabilityWithConfirm create(Boolean create) { | ||
|
||
this.create = create; | ||
return this; | ||
} | ||
|
||
/** | ||
* 「取得した明細」の作成 | ||
* @return create | ||
**/ | ||
@javax.annotation.Nullable | ||
@ApiModelProperty(example = "true", value = "「取得した明細」の作成") | ||
|
||
public Boolean getCreate() { | ||
return create; | ||
} | ||
|
||
|
||
public void setCreate(Boolean create) { | ||
this.create = create; | ||
} | ||
|
||
|
||
public UserCapabilityWithConfirm destroy(Boolean destroy) { | ||
|
||
this.destroy = destroy; | ||
return this; | ||
} | ||
|
||
/** | ||
* 「取得した明細」の削除 | ||
* @return destroy | ||
**/ | ||
@javax.annotation.Nullable | ||
@ApiModelProperty(example = "true", value = "「取得した明細」の削除") | ||
|
||
public Boolean getDestroy() { | ||
return destroy; | ||
} | ||
|
||
|
||
public void setDestroy(Boolean destroy) { | ||
this.destroy = destroy; | ||
} | ||
|
||
|
||
public UserCapabilityWithConfirm read(Boolean read) { | ||
|
||
this.read = read; | ||
return this; | ||
} | ||
|
||
/** | ||
* 「取得した明細」の閲覧 | ||
* @return read | ||
**/ | ||
@javax.annotation.Nullable | ||
@ApiModelProperty(example = "true", value = "「取得した明細」の閲覧") | ||
|
||
public Boolean getRead() { | ||
return read; | ||
} | ||
|
||
|
||
public void setRead(Boolean read) { | ||
this.read = read; | ||
} | ||
|
||
|
||
public UserCapabilityWithConfirm update(Boolean update) { | ||
|
||
this.update = update; | ||
return this; | ||
} | ||
|
||
/** | ||
* 「取得した明細」の更新 | ||
* @return update | ||
**/ | ||
@javax.annotation.Nullable | ||
@ApiModelProperty(example = "true", value = "「取得した明細」の更新") | ||
|
||
public Boolean getUpdate() { | ||
return update; | ||
} | ||
|
||
|
||
public void setUpdate(Boolean update) { | ||
this.update = update; | ||
} | ||
|
||
|
||
@Override | ||
public boolean equals(Object o) { | ||
if (this == o) { | ||
return true; | ||
} | ||
if (o == null || getClass() != o.getClass()) { | ||
return false; | ||
} | ||
UserCapabilityWithConfirm userCapabilityWithConfirm = (UserCapabilityWithConfirm) o; | ||
return Objects.equals(this.confirm, userCapabilityWithConfirm.confirm) && | ||
Objects.equals(this.create, userCapabilityWithConfirm.create) && | ||
Objects.equals(this.destroy, userCapabilityWithConfirm.destroy) && | ||
Objects.equals(this.read, userCapabilityWithConfirm.read) && | ||
Objects.equals(this.update, userCapabilityWithConfirm.update); | ||
} | ||
|
||
@Override | ||
public int hashCode() { | ||
return Objects.hash(confirm, create, destroy, read, update); | ||
} | ||
|
||
@Override | ||
public String toString() { | ||
StringBuilder sb = new StringBuilder(); | ||
sb.append("class UserCapabilityWithConfirm {\n"); | ||
sb.append(" confirm: ").append(toIndentedString(confirm)).append("\n"); | ||
sb.append(" create: ").append(toIndentedString(create)).append("\n"); | ||
sb.append(" destroy: ").append(toIndentedString(destroy)).append("\n"); | ||
sb.append(" read: ").append(toIndentedString(read)).append("\n"); | ||
sb.append(" update: ").append(toIndentedString(update)).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(Object o) { | ||
if (o == null) { | ||
return "null"; | ||
} | ||
return o.toString().replace("\n", "\n "); | ||
} | ||
|
||
} | ||
|
Oops, something went wrong.