Class Business

java.lang.Object
io.github.primelib.confluence4j.rest.v1.models.Business

@Generated("io.github.primelib.primecodegen") public class Business extends Object
Business
  • Field Details

    • position

      protected String position
      This property has been deprecated due to privacy changes. There is no replacement. See the [migration guide](https://developer.atlassian.com/cloud/confluence/deprecation-notice-user-privacy-api-migration-guide/) for details.
    • department

      protected String department
      This property has been deprecated due to privacy changes. There is no replacement. See the [migration guide](https://developer.atlassian.com/cloud/confluence/deprecation-notice-user-privacy-api-migration-guide/) for details.
    • location

      protected String location
      This property has been deprecated due to privacy changes. There is no replacement. See the [migration guide](https://developer.atlassian.com/cloud/confluence/deprecation-notice-user-privacy-api-migration-guide/) for details.
  • Constructor Details

    • Business

      public Business(Consumer<Business> spec)
      Constructs a validated instance of Business.
      Parameters:
      spec - the specification to process
    • Business

      @Internal protected Business()
      Protected no-args constructor for use by serialization frameworks.
    • Business

      @Internal public Business(String position, String department, String location)
      Constructs a validated instance of Business.

      NOTE: This constructor is not considered stable and may change if the model is updated. Consider using Business(Consumer) instead.

      Parameters:
      position - This property has been deprecated due to privacy changes. There is no replacement. See the [migration guide](https://developer.atlassian.com/cloud/confluence/deprecation-notice-user-privacy-api-migration-guide/) for details.
      department - This property has been deprecated due to privacy changes. There is no replacement. See the [migration guide](https://developer.atlassian.com/cloud/confluence/deprecation-notice-user-privacy-api-migration-guide/) for details.
      location - This property has been deprecated due to privacy changes. There is no replacement. See the [migration guide](https://developer.atlassian.com/cloud/confluence/deprecation-notice-user-privacy-api-migration-guide/) for details.
  • Method Details

    • position

      public String position()
      Fluent getter for position.

      This property has been deprecated due to privacy changes. There is no replacement. See the [migration guide](https://developer.atlassian.com/cloud/confluence/deprecation-notice-user-privacy-api-migration-guide/) for details.

      Returns:
      position
    • position

      public Business position(String position)
      Fluent setter for position.

      This property has been deprecated due to privacy changes. There is no replacement. See the [migration guide](https://developer.atlassian.com/cloud/confluence/deprecation-notice-user-privacy-api-migration-guide/) for details.

      Parameters:
      position - position
      Returns:
      this
    • getPosition

      public String getPosition()
      Gets the value of position.

      This property has been deprecated due to privacy changes. There is no replacement. See the [migration guide](https://developer.atlassian.com/cloud/confluence/deprecation-notice-user-privacy-api-migration-guide/) for details.

      Returns:
      position
    • setPosition

      public void setPosition(String position)
      Sets the value of position.

      This property has been deprecated due to privacy changes. There is no replacement. See the [migration guide](https://developer.atlassian.com/cloud/confluence/deprecation-notice-user-privacy-api-migration-guide/) for details.

      Parameters:
      position - position
    • department

      public String department()
      Fluent getter for department.

      This property has been deprecated due to privacy changes. There is no replacement. See the [migration guide](https://developer.atlassian.com/cloud/confluence/deprecation-notice-user-privacy-api-migration-guide/) for details.

      Returns:
      department
    • department

      public Business department(String department)
      Fluent setter for department.

      This property has been deprecated due to privacy changes. There is no replacement. See the [migration guide](https://developer.atlassian.com/cloud/confluence/deprecation-notice-user-privacy-api-migration-guide/) for details.

      Parameters:
      department - department
      Returns:
      this
    • getDepartment

      public String getDepartment()
      Gets the value of department.

      This property has been deprecated due to privacy changes. There is no replacement. See the [migration guide](https://developer.atlassian.com/cloud/confluence/deprecation-notice-user-privacy-api-migration-guide/) for details.

      Returns:
      department
    • setDepartment

      public void setDepartment(String department)
      Sets the value of department.

      This property has been deprecated due to privacy changes. There is no replacement. See the [migration guide](https://developer.atlassian.com/cloud/confluence/deprecation-notice-user-privacy-api-migration-guide/) for details.

      Parameters:
      department - department
    • location

      public String location()
      Fluent getter for location.

      This property has been deprecated due to privacy changes. There is no replacement. See the [migration guide](https://developer.atlassian.com/cloud/confluence/deprecation-notice-user-privacy-api-migration-guide/) for details.

      Returns:
      location
    • location

      public Business location(String location)
      Fluent setter for location.

      This property has been deprecated due to privacy changes. There is no replacement. See the [migration guide](https://developer.atlassian.com/cloud/confluence/deprecation-notice-user-privacy-api-migration-guide/) for details.

      Parameters:
      location - location
      Returns:
      this
    • getLocation

      public String getLocation()
      Gets the value of location.

      This property has been deprecated due to privacy changes. There is no replacement. See the [migration guide](https://developer.atlassian.com/cloud/confluence/deprecation-notice-user-privacy-api-migration-guide/) for details.

      Returns:
      location
    • setLocation

      public void setLocation(String location)
      Sets the value of location.

      This property has been deprecated due to privacy changes. There is no replacement. See the [migration guide](https://developer.atlassian.com/cloud/confluence/deprecation-notice-user-privacy-api-migration-guide/) for details.

      Parameters:
      location - location
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object