@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen") public class Section extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
SERIALIZED_NAME_AVAILABLE |
static String |
SERIALIZED_NAME_COMPANY_ID |
static String |
SERIALIZED_NAME_ID |
static String |
SERIALIZED_NAME_INDENT_COUNT |
static String |
SERIALIZED_NAME_LONG_NAME |
static String |
SERIALIZED_NAME_NAME |
static String |
SERIALIZED_NAME_PARENT_ID |
static String |
SERIALIZED_NAME_SHORTCUT1 |
static String |
SERIALIZED_NAME_SHORTCUT2 |
| Constructor and Description |
|---|
Section() |
| Modifier and Type | Method and Description |
|---|---|
Section |
available(Boolean available) |
Section |
companyId(Integer companyId) |
boolean |
equals(Object o) |
Boolean |
getAvailable()
部門の使用設定(true: 使用する、false: 使用しない) <br> <ul> <li> 本APIでsectionを作成した場合はtrueになります。 </li> <li> falseにする場合はWeb画面から変更できます。 </li> <li> trueの場合、Web画面での取引登録時などに入力候補として表示されます。 </li> <li> falseの場合、部門自体は削除せず、Web画面での取引登録時などに入力候補として表示されません。ただし取引(収入/支出)の作成APIなどでfalseの部門をパラメータに指定すれば、取引などにfalseの部門を設定できます。 </li> </ul>
|
Integer |
getCompanyId()
事業所ID
minimum: 1
maximum: 2147483647
|
Integer |
getId()
部門ID
minimum: 1
maximum: 2147483647
|
Integer |
getIndentCount()
<a target=\"_blank\" href=\"https://support.freee.co.jp/hc/ja/articles/209093566\">部門階層</a> <br> ※ indent_count が 0 のときは第一階層の親部門です。
minimum: 0
|
String |
getLongName()
正式名称(255文字以内)
|
String |
getName()
部門名 (30文字以内)
|
Integer |
getParentId()
<a target=\"_blank\" href=\"https://support.freee.co.jp/hc/ja/articles/209093566\">親部門ID</a> <br> ※ parent_id が null のときは第一階層の親部門です。
|
String |
getShortcut1()
ショートカット1 (20文字以内)
|
String |
getShortcut2()
ショートカット2 (20文字以内)
|
int |
hashCode() |
Section |
id(Integer id) |
Section |
indentCount(Integer indentCount) |
Section |
longName(String longName) |
Section |
name(String name) |
Section |
parentId(Integer parentId) |
void |
setAvailable(Boolean available) |
void |
setCompanyId(Integer companyId) |
void |
setId(Integer id) |
void |
setIndentCount(Integer indentCount) |
void |
setLongName(String longName) |
void |
setName(String name) |
void |
setParentId(Integer parentId) |
void |
setShortcut1(String shortcut1) |
void |
setShortcut2(String shortcut2) |
Section |
shortcut1(String shortcut1) |
Section |
shortcut2(String shortcut2) |
String |
toString() |
public static final String SERIALIZED_NAME_AVAILABLE
public static final String SERIALIZED_NAME_COMPANY_ID
public static final String SERIALIZED_NAME_ID
public static final String SERIALIZED_NAME_INDENT_COUNT
public static final String SERIALIZED_NAME_LONG_NAME
public static final String SERIALIZED_NAME_NAME
public static final String SERIALIZED_NAME_PARENT_ID
public static final String SERIALIZED_NAME_SHORTCUT1
public static final String SERIALIZED_NAME_SHORTCUT2
@Nonnull public Boolean getAvailable()
public void setAvailable(Boolean available)
@Nonnull public Integer getCompanyId()
public void setCompanyId(Integer companyId)
public void setId(Integer id)
@Nullable public Integer getIndentCount()
public void setIndentCount(Integer indentCount)
public void setLongName(String longName)
public void setName(String name)
@Nullable public Integer getParentId()
public void setParentId(Integer parentId)
public void setShortcut1(String shortcut1)
public void setShortcut2(String shortcut2)
Copyright © 2022. All rights reserved.