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

org.zendesk.client.v2.model.GroupMembership Maven / Gradle / Ivy

package org.zendesk.client.v2.model;

import com.fasterxml.jackson.annotation.JsonProperty;

import java.io.Serializable;
import java.util.Date;

public class GroupMembership implements Serializable {

    private static final long serialVersionUID = 1L;

    private Long id;
    private String url;
    private Long userId;
    private Long groupId;
    private Boolean _default;
    private Date createdAt;
    private Date updatedAt;

    public GroupMembership() {
    }

    public Long getId() {
        return id;
    }

    public void setId(final Long id) {
        this.id = id;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(final String url) {
        this.url = url;
    }

    @JsonProperty("user_id")
    public Long getUserId() {
        return userId;
    }

    public void setUserId(final Long userId) {
        this.userId = userId;
    }

    @JsonProperty("group_id")
    public Long getGroupId() {
        return groupId;
    }

    public void setGroupId(final Long groupId) {
        this.groupId = groupId;
    }

    @JsonProperty("default")
    public Boolean get_default() {
        return _default;
    }

    public void set_default(final Boolean _default) {
        this._default = _default;
    }

    @JsonProperty("created_at")
    public Date getCreatedAt() {
        return createdAt;
    }

    public void setCreatedAt(final Date createdAt) {
        this.createdAt = createdAt;
    }

    @JsonProperty("updated_at")
    public Date getUpdatedAt() {
        return updatedAt;
    }

    public void setUpdatedAt(final Date updatedAt) {
        this.updatedAt = updatedAt;
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy