Skip to content
This repository has been archived by the owner on Jul 24, 2023. It is now read-only.

Commit

Permalink
Merge pull request #84 from freee/auto-generated
Browse files Browse the repository at this point in the history
2.19.0
  • Loading branch information
soga-yuichi authored Nov 17, 2022
2 parents a90f9f4 + e3aadc0 commit c308315
Show file tree
Hide file tree
Showing 16 changed files with 660 additions and 17 deletions.
2 changes: 1 addition & 1 deletion .openapi-generator/config.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
ensureUniqueParams: false
allowUnicodeIdentifiers: true
snapshotVersion: true
artifactVersion: 2.18.0
artifactVersion: 2.19.0
groupId: "jp.co.freee"
artifactId: "freee-accounting-sdk"
apiPackage: "jp.co.freee.accounting.api"
Expand Down
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
## 2.19.0
リリース日時 2022-11-17 09:07:50
対象差分
https://github.com/freee/freee-api-schema/releases/tag/v0.0.105

## 2.18.0
リリース日時 2022-11-14 15:46:45
対象差分
Expand Down
2 changes: 1 addition & 1 deletion samples/basic-sample/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
<dependency>
<groupId>jp.co.freee</groupId>
<artifactId>freee-accounting-sdk</artifactId>
<version>2.18.0</version>
<version>2.19.0</version>
</dependency>
</dependencies>
<build>
Expand Down
2 changes: 1 addition & 1 deletion samples/basic-websample-rx/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
<dependency>
<groupId>jp.co.freee</groupId>
<artifactId>freee-accounting-sdk</artifactId>
<version>2.18.0</version>
<version>2.19.0</version>
</dependency>
<dependency>
<groupId>org.webjars</groupId>
Expand Down
2 changes: 1 addition & 1 deletion samples/basic-websample/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@
<dependency>
<groupId>jp.co.freee</groupId>
<artifactId>freee-accounting-sdk</artifactId>
<version>2.18.0</version>
<version>2.19.0</version>
</dependency>

<dependency>
Expand Down
4 changes: 2 additions & 2 deletions sdk/docs/InlineResponse20013.md
Original file line number Diff line number Diff line change
Expand Up @@ -63,8 +63,8 @@ Name | Type | Description | Notes
**taxes** | [**UserCapability**](UserCapability.md) | |
**transfers** | [**UserCapabilityWithSelfOnly**](UserCapabilityWithSelfOnly.md) | |
**userMatchers** | [**UserCapability**](UserCapability.md) | |
**walletTxns** | [**UserCapability**](UserCapability.md) | |
**walletables** | [**UserCapability**](UserCapability.md) | |
**walletTxns** | [**UserCapabilityWithConfirm**](UserCapabilityWithConfirm.md) | |
**walletables** | [**UserCapabilityWithSync**](UserCapabilityWithSync.md) | |
**workflows** | [**UserCapability**](UserCapability.md) | |
**yearEnd** | [**UserCapability**](UserCapability.md) | |

Expand Down
17 changes: 17 additions & 0 deletions sdk/docs/UserCapabilityWithConfirm.md
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]



17 changes: 17 additions & 0 deletions sdk/docs/UserCapabilityWithSync.md
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]



2 changes: 1 addition & 1 deletion sdk/docs/UsersApi.md

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions sdk/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -291,7 +291,7 @@
</dependency>
</dependencies>
<properties>
<revision>2.18.0</revision>
<revision>2.19.0</revision>
<changelist>-SNAPSHOT</changelist>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<java.version>1.8</java.version>
Expand All @@ -305,4 +305,4 @@
<oltu-version>1.0.1</oltu-version>
<junit-version>4.13.1</junit-version>
</properties>
</project>
</project>
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,9 @@
import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
import jp.co.freee.accounting.models.UserCapability;
import jp.co.freee.accounting.models.UserCapabilityWithConfirm;
import jp.co.freee.accounting.models.UserCapabilityWithSelfOnly;
import jp.co.freee.accounting.models.UserCapabilityWithSync;

/**
* InlineResponse20013
Expand Down Expand Up @@ -257,11 +259,11 @@ public class InlineResponse20013 {

public static final String SERIALIZED_NAME_WALLET_TXNS = "wallet_txns";
@SerializedName(SERIALIZED_NAME_WALLET_TXNS)
private UserCapability walletTxns;
private UserCapabilityWithConfirm walletTxns;

public static final String SERIALIZED_NAME_WALLETABLES = "walletables";
@SerializedName(SERIALIZED_NAME_WALLETABLES)
private UserCapability walletables;
private UserCapabilityWithSync walletables;

public static final String SERIALIZED_NAME_WORKFLOWS = "workflows";
@SerializedName(SERIALIZED_NAME_WORKFLOWS)
Expand Down Expand Up @@ -1562,7 +1564,7 @@ public void setUserMatchers(UserCapability userMatchers) {
}


public InlineResponse20013 walletTxns(UserCapability walletTxns) {
public InlineResponse20013 walletTxns(UserCapabilityWithConfirm walletTxns) {

this.walletTxns = walletTxns;
return this;
Expand All @@ -1575,17 +1577,17 @@ public InlineResponse20013 walletTxns(UserCapability walletTxns) {
@javax.annotation.Nonnull
@ApiModelProperty(required = true, value = "")

public UserCapability getWalletTxns() {
public UserCapabilityWithConfirm getWalletTxns() {
return walletTxns;
}


public void setWalletTxns(UserCapability walletTxns) {
public void setWalletTxns(UserCapabilityWithConfirm walletTxns) {
this.walletTxns = walletTxns;
}


public InlineResponse20013 walletables(UserCapability walletables) {
public InlineResponse20013 walletables(UserCapabilityWithSync walletables) {

this.walletables = walletables;
return this;
Expand All @@ -1598,12 +1600,12 @@ public InlineResponse20013 walletables(UserCapability walletables) {
@javax.annotation.Nonnull
@ApiModelProperty(required = true, value = "")

public UserCapability getWalletables() {
public UserCapabilityWithSync getWalletables() {
return walletables;
}


public void setWalletables(UserCapability walletables) {
public void setWalletables(UserCapabilityWithSync walletables) {
this.walletables = walletables;
}

Expand Down
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 ");
}

}

Loading

0 comments on commit c308315

Please sign in to comment.