C# Class ZendeskApi_v2.Requests.Organizations

Inheritance: Core
ファイルを表示 Open project: mozts2005/ZendeskApi_v2 Class Usage Examples

Public Methods

Method Description
CreateManyOrganizationMemberships ( IEnumerable organization_memberships ) : JobStatusResponse
CreateManyOrganizationMembershipsAsync ( IEnumerable organization_memberships ) : Task
CreateOrganization ( ZendeskApi_v2.Models.Organizations.Organization organization ) : ZendeskApi_v2.Models.Organizations.IndividualOrganizationResponse
CreateOrganizationAsync ( ZendeskApi_v2.Models.Organizations.Organization organization ) : Task
CreateOrganizationMembership ( ZendeskApi_v2.Models.Organizations.OrganizationMembership organization_membership ) : ZendeskApi_v2.Models.Organizations.IndividualOrganizationMembershipResponse
CreateOrganizationMembership ( long userId, ZendeskApi_v2.Models.Organizations.OrganizationMembership organization_membership ) : ZendeskApi_v2.Models.Organizations.IndividualOrganizationMembershipResponse
CreateOrganizationMembershipAsync ( ZendeskApi_v2.Models.Organizations.OrganizationMembership organization_membership ) : Task
CreateOrganizationMembershipAsync ( long userId, ZendeskApi_v2.Models.Organizations.OrganizationMembership organization_membership ) : Task
DeleteOrganization ( long id ) : bool
DeleteOrganizationAsync ( long id ) : Task
DeleteOrganizationMembership ( long id ) : bool
DeleteOrganizationMembership ( long id, long userId ) : bool
DeleteOrganizationMembershipAsync ( long id ) : Task
DeleteOrganizationMembershipAsync ( long id, long userId ) : Task
DestroyManyOrganizationMemberships ( IEnumerable ids ) : JobStatusResponse
DestroyManyOrganizationMembershipsAsync ( IEnumerable ids ) : Task
GetOrganization ( long id ) : ZendeskApi_v2.Models.Organizations.IndividualOrganizationResponse
GetOrganizationAsync ( long id ) : Task
GetOrganizationMembership ( long id ) : ZendeskApi_v2.Models.Organizations.IndividualOrganizationMembershipResponse
GetOrganizationMembershipAsync ( long id ) : Task
GetOrganizationMembershipByIdAndUserId ( long id, long userid ) : ZendeskApi_v2.Models.Organizations.IndividualOrganizationMembershipResponse
GetOrganizationMembershipByIdAndUserIdAsync ( long id, long userid ) : Task
GetOrganizationMemberships ( int perPage = null, int page = null ) : ZendeskApi_v2.Models.Organizations.GroupOrganizationMembershipResponse
GetOrganizationMembershipsAsync ( int perPage = null, int page = null ) : Task
GetOrganizationMembershipsByOrganizationId ( long organizationId, int perPage = null, int page = null ) : ZendeskApi_v2.Models.Organizations.GroupOrganizationMembershipResponse
GetOrganizationMembershipsByOrganizationIdAsync ( long organizationId, int perPage = null, int page = null ) : Task
GetOrganizationMembershipsByUserId ( long userId, int perPage = null, int page = null ) : ZendeskApi_v2.Models.Organizations.GroupOrganizationMembershipResponse
GetOrganizationMembershipsByUserIdAsync ( long userId, int perPage = null, int page = null ) : Task
GetOrganizations ( int perPage = null, int page = null ) : ZendeskApi_v2.Models.Organizations.GroupOrganizationResponse
GetOrganizationsAsync ( int perPage = null, int page = null ) : Task
GetOrganizationsStartingWith ( string name ) : ZendeskApi_v2.Models.Organizations.GroupOrganizationResponse

Returns an array of organizations whose name starts with the value specified in the name parameter. The name must be at least 2 characters in length.

GetOrganizationsStartingWithAsync ( string name ) : Task

Returns an array of organizations whose name starts with the value specified in the name parameter. The name must be at least 2 characters in length.

Organizations ( string yourZendeskUrl, string user, string password, string apiToken, string p_OAuthToken ) : System.Threading.Tasks
SearchForOrganizationsAsync ( string searchTerm ) : Task
SearchForOrganizationsByExternalId ( string externalId ) : ZendeskApi_v2.Models.Organizations.GroupOrganizationResponse
SetOrganizationMembershipAsDefault ( long id, long userId ) : ZendeskApi_v2.Models.Organizations.GroupOrganizationMembershipResponse
SetOrganizationMembershipAsDefaultAsync ( long id, long userId ) : Task
UpdateOrganization ( ZendeskApi_v2.Models.Organizations.Organization organization ) : ZendeskApi_v2.Models.Organizations.IndividualOrganizationResponse
UpdateOrganizationAsync ( ZendeskApi_v2.Models.Organizations.Organization organization ) : Task

Method Details

CreateManyOrganizationMemberships() public method

public CreateManyOrganizationMemberships ( IEnumerable organization_memberships ) : JobStatusResponse
organization_memberships IEnumerable
return JobStatusResponse

CreateManyOrganizationMembershipsAsync() public method

public CreateManyOrganizationMembershipsAsync ( IEnumerable organization_memberships ) : Task
organization_memberships IEnumerable
return Task

CreateOrganization() public method

public CreateOrganization ( ZendeskApi_v2.Models.Organizations.Organization organization ) : ZendeskApi_v2.Models.Organizations.IndividualOrganizationResponse
organization ZendeskApi_v2.Models.Organizations.Organization
return ZendeskApi_v2.Models.Organizations.IndividualOrganizationResponse

CreateOrganizationAsync() public method

public CreateOrganizationAsync ( ZendeskApi_v2.Models.Organizations.Organization organization ) : Task
organization ZendeskApi_v2.Models.Organizations.Organization
return Task

CreateOrganizationMembership() public method

public CreateOrganizationMembership ( ZendeskApi_v2.Models.Organizations.OrganizationMembership organization_membership ) : ZendeskApi_v2.Models.Organizations.IndividualOrganizationMembershipResponse
organization_membership ZendeskApi_v2.Models.Organizations.OrganizationMembership
return ZendeskApi_v2.Models.Organizations.IndividualOrganizationMembershipResponse

CreateOrganizationMembership() public method

public CreateOrganizationMembership ( long userId, ZendeskApi_v2.Models.Organizations.OrganizationMembership organization_membership ) : ZendeskApi_v2.Models.Organizations.IndividualOrganizationMembershipResponse
userId long
organization_membership ZendeskApi_v2.Models.Organizations.OrganizationMembership
return ZendeskApi_v2.Models.Organizations.IndividualOrganizationMembershipResponse

CreateOrganizationMembershipAsync() public method

public CreateOrganizationMembershipAsync ( ZendeskApi_v2.Models.Organizations.OrganizationMembership organization_membership ) : Task
organization_membership ZendeskApi_v2.Models.Organizations.OrganizationMembership
return Task

CreateOrganizationMembershipAsync() public method

public CreateOrganizationMembershipAsync ( long userId, ZendeskApi_v2.Models.Organizations.OrganizationMembership organization_membership ) : Task
userId long
organization_membership ZendeskApi_v2.Models.Organizations.OrganizationMembership
return Task

DeleteOrganization() public method

public DeleteOrganization ( long id ) : bool
id long
return bool

DeleteOrganizationAsync() public method

public DeleteOrganizationAsync ( long id ) : Task
id long
return Task

DeleteOrganizationMembership() public method

public DeleteOrganizationMembership ( long id ) : bool
id long
return bool

DeleteOrganizationMembership() public method

public DeleteOrganizationMembership ( long id, long userId ) : bool
id long
userId long
return bool

DeleteOrganizationMembershipAsync() public method

public DeleteOrganizationMembershipAsync ( long id ) : Task
id long
return Task

DeleteOrganizationMembershipAsync() public method

public DeleteOrganizationMembershipAsync ( long id, long userId ) : Task
id long
userId long
return Task

DestroyManyOrganizationMemberships() public method

public DestroyManyOrganizationMemberships ( IEnumerable ids ) : JobStatusResponse
ids IEnumerable
return JobStatusResponse

DestroyManyOrganizationMembershipsAsync() public method

public DestroyManyOrganizationMembershipsAsync ( IEnumerable ids ) : Task
ids IEnumerable
return Task

GetOrganization() public method

public GetOrganization ( long id ) : ZendeskApi_v2.Models.Organizations.IndividualOrganizationResponse
id long
return ZendeskApi_v2.Models.Organizations.IndividualOrganizationResponse

GetOrganizationAsync() public method

public GetOrganizationAsync ( long id ) : Task
id long
return Task

GetOrganizationMembership() public method

public GetOrganizationMembership ( long id ) : ZendeskApi_v2.Models.Organizations.IndividualOrganizationMembershipResponse
id long
return ZendeskApi_v2.Models.Organizations.IndividualOrganizationMembershipResponse

GetOrganizationMembershipAsync() public method

public GetOrganizationMembershipAsync ( long id ) : Task
id long
return Task

GetOrganizationMembershipByIdAndUserId() public method

public GetOrganizationMembershipByIdAndUserId ( long id, long userid ) : ZendeskApi_v2.Models.Organizations.IndividualOrganizationMembershipResponse
id long
userid long
return ZendeskApi_v2.Models.Organizations.IndividualOrganizationMembershipResponse

GetOrganizationMembershipByIdAndUserIdAsync() public method

public GetOrganizationMembershipByIdAndUserIdAsync ( long id, long userid ) : Task
id long
userid long
return Task

GetOrganizationMemberships() public method

public GetOrganizationMemberships ( int perPage = null, int page = null ) : ZendeskApi_v2.Models.Organizations.GroupOrganizationMembershipResponse
perPage int
page int
return ZendeskApi_v2.Models.Organizations.GroupOrganizationMembershipResponse

GetOrganizationMembershipsAsync() public method

public GetOrganizationMembershipsAsync ( int perPage = null, int page = null ) : Task
perPage int
page int
return Task

GetOrganizationMembershipsByOrganizationId() public method

public GetOrganizationMembershipsByOrganizationId ( long organizationId, int perPage = null, int page = null ) : ZendeskApi_v2.Models.Organizations.GroupOrganizationMembershipResponse
organizationId long
perPage int
page int
return ZendeskApi_v2.Models.Organizations.GroupOrganizationMembershipResponse

GetOrganizationMembershipsByOrganizationIdAsync() public method

public GetOrganizationMembershipsByOrganizationIdAsync ( long organizationId, int perPage = null, int page = null ) : Task
organizationId long
perPage int
page int
return Task

GetOrganizationMembershipsByUserId() public method

public GetOrganizationMembershipsByUserId ( long userId, int perPage = null, int page = null ) : ZendeskApi_v2.Models.Organizations.GroupOrganizationMembershipResponse
userId long
perPage int
page int
return ZendeskApi_v2.Models.Organizations.GroupOrganizationMembershipResponse

GetOrganizationMembershipsByUserIdAsync() public method

public GetOrganizationMembershipsByUserIdAsync ( long userId, int perPage = null, int page = null ) : Task
userId long
perPage int
page int
return Task

GetOrganizations() public method

public GetOrganizations ( int perPage = null, int page = null ) : ZendeskApi_v2.Models.Organizations.GroupOrganizationResponse
perPage int
page int
return ZendeskApi_v2.Models.Organizations.GroupOrganizationResponse

GetOrganizationsAsync() public method

public GetOrganizationsAsync ( int perPage = null, int page = null ) : Task
perPage int
page int
return Task

GetOrganizationsStartingWith() public method

Returns an array of organizations whose name starts with the value specified in the name parameter. The name must be at least 2 characters in length.
public GetOrganizationsStartingWith ( string name ) : ZendeskApi_v2.Models.Organizations.GroupOrganizationResponse
name string
return ZendeskApi_v2.Models.Organizations.GroupOrganizationResponse

GetOrganizationsStartingWithAsync() public method

Returns an array of organizations whose name starts with the value specified in the name parameter. The name must be at least 2 characters in length.
public GetOrganizationsStartingWithAsync ( string name ) : Task
name string
return Task

Organizations() public method

public Organizations ( string yourZendeskUrl, string user, string password, string apiToken, string p_OAuthToken ) : System.Threading.Tasks
yourZendeskUrl string
user string
password string
apiToken string
p_OAuthToken string
return System.Threading.Tasks

SearchForOrganizationsAsync() public method

public SearchForOrganizationsAsync ( string searchTerm ) : Task
searchTerm string
return Task

SearchForOrganizationsByExternalId() public method

public SearchForOrganizationsByExternalId ( string externalId ) : ZendeskApi_v2.Models.Organizations.GroupOrganizationResponse
externalId string
return ZendeskApi_v2.Models.Organizations.GroupOrganizationResponse

SetOrganizationMembershipAsDefault() public method

public SetOrganizationMembershipAsDefault ( long id, long userId ) : ZendeskApi_v2.Models.Organizations.GroupOrganizationMembershipResponse
id long
userId long
return ZendeskApi_v2.Models.Organizations.GroupOrganizationMembershipResponse

SetOrganizationMembershipAsDefaultAsync() public method

public SetOrganizationMembershipAsDefaultAsync ( long id, long userId ) : Task
id long
userId long
return Task

UpdateOrganization() public method

public UpdateOrganization ( ZendeskApi_v2.Models.Organizations.Organization organization ) : ZendeskApi_v2.Models.Organizations.IndividualOrganizationResponse
organization ZendeskApi_v2.Models.Organizations.Organization
return ZendeskApi_v2.Models.Organizations.IndividualOrganizationResponse

UpdateOrganizationAsync() public method

public UpdateOrganizationAsync ( ZendeskApi_v2.Models.Organizations.Organization organization ) : Task
organization ZendeskApi_v2.Models.Organizations.Organization
return Task