// Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.

package operations

import (
	"github.com/airbytehq/terraform-provider-airbyte/internal/sdk/models/shared"
	"net/http"
)

type ListUsersWithinAnOrganizationRequest struct {
	OrganizationID string `queryParam:"style=form,explode=true,name=organizationId"`
	// List of user IDs to filter by
	Ids []string `queryParam:"style=form,explode=true,name=ids"`
	// List of user emails to filter by
	Emails []string `queryParam:"style=form,explode=true,name=emails"`
}

func (o *ListUsersWithinAnOrganizationRequest) GetOrganizationID() string {
	if o == nil {
		return ""
	}
	return o.OrganizationID
}

func (o *ListUsersWithinAnOrganizationRequest) GetIds() []string {
	if o == nil {
		return nil
	}
	return o.Ids
}

func (o *ListUsersWithinAnOrganizationRequest) GetEmails() []string {
	if o == nil {
		return nil
	}
	return o.Emails
}

type ListUsersWithinAnOrganizationResponse struct {
	// HTTP response content type for this operation
	ContentType string
	// HTTP response status code for this operation
	StatusCode int
	// Raw HTTP response; suitable for custom response parsing
	RawResponse *http.Response
	// List Users.
	UsersResponse *shared.UsersResponse
}

func (o *ListUsersWithinAnOrganizationResponse) GetContentType() string {
	if o == nil {
		return ""
	}
	return o.ContentType
}

func (o *ListUsersWithinAnOrganizationResponse) GetStatusCode() int {
	if o == nil {
		return 0
	}
	return o.StatusCode
}

func (o *ListUsersWithinAnOrganizationResponse) GetRawResponse() *http.Response {
	if o == nil {
		return nil
	}
	return o.RawResponse
}

func (o *ListUsersWithinAnOrganizationResponse) GetUsersResponse() *shared.UsersResponse {
	if o == nil {
		return nil
	}
	return o.UsersResponse
}
