usajobs

package
v0.0.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 4, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Overview

Copyright © 2024 Jeff Day jeffrey.day33@gmail.com

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Copyright © 2024 Jeff Day jeffrey.day33@gmail.com

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Copyright © 2024 Jeff Day jeffrey.day33@gmail.com

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Copyright © 2024 Jeff Day jeffrey.day33@gmail.com

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Copyright © 2024 Jeff Day jeffrey.day33@gmail.com

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Copyright © 2024 Jeff Day jeffrey.day33@gmail.com

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Copyright © 2024 Jeff Day jeffrey.day33@gmail.com

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Copyright © 2024 Jeff Day jeffrey.day33@gmail.com

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Copyright © 2024 Jeff Day jeffrey.day33@gmail.com

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Copyright © 2024 Jeff Day jeffrey.day33@gmail.com

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Copyright © 2024 Jeff Day jeffrey.day33@gmail.com

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Copyright © 2024 Jeff Day jeffrey.day33@gmail.com

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Copyright © 2024 Jeff Day jeffrey.day33@gmail.com

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Copyright © 2024 Jeff Day jeffrey.day33@gmail.com

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Copyright © 2024 Jeff Day jeffrey.day33@gmail.com

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Copyright © 2024 Jeff Day jeffrey.day33@gmail.com

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Copyright © 2024 Jeff Day jeffrey.day33@gmail.com

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Copyright © 2024 Jeff Day jeffrey.day33@gmail.com

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Copyright © 2024 Jeff Day jeffrey.day33@gmail.com

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Copyright © 2024 Jeff Day jeffrey.day33@gmail.com

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Copyright © 2024 Jeff Day jeffrey.day33@gmail.com

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Copyright © 2024 Jeff Day jeffrey.day33@gmail.com

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Copyright © 2024 Jeff Day jeffrey.day33@gmail.com

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Copyright © 2024 Jeff Day jeffrey.day33@gmail.com

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Copyright © 2024 Jeff Day jeffrey.day33@gmail.com

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Copyright © 2024 Jeff Day jeffrey.day33@gmail.com

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Copyright © 2024 Jeff Day jeffrey.day33@gmail.com

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Copyright © 2024 Jeff Day jeffrey.day33@gmail.com

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Copyright © 2024 Jeff Day jeffrey.day33@gmail.com

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Copyright © 2024 Jeff Day jeffrey.day33@gmail.com

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Copyright © 2024 Jeff Day jeffrey.day33@gmail.com

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Copyright © 2024 Jeff Day jeffrey.day33@gmail.com

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Copyright © 2024 Jeff Day jeffrey.day33@gmail.com

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Copyright © 2024 Jeff Day jeffrey.day33@gmail.com

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Copyright © 2024 Jeff Day jeffrey.day33@gmail.com

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Copyright © 2024 Jeff Day jeffrey.day33@gmail.com

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Copyright © 2024 Jeff Day jeffrey.day33@gmail.com

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Copyright © 2024 Jeff Day jeffrey.day33@gmail.com

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Copyright © 2024 Jeff Day jeffrey.day33@gmail.com

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Copyright © 2024 Jeff Day jeffrey.day33@gmail.com

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Copyright © 2024 Jeff Day jeffrey.day33@gmail.com

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AcademicHonorsOptions added in v0.0.2

type AcademicHonorsOptions struct {
	LastModified string `url:"lastmodified,omitempty"`
}

AcademicHonorsOptions are the url query parameters supported by the /codelist/academichonors usajobs api endpoint.

type AcademicHonorsResponse added in v0.0.2

type AcademicHonorsResponse struct {
	CodeList []struct {
		ValidValue []struct {
			Code         string `json:"Code,omitempty"`
			Value        string `json:"Value,omitempty"`
			LastModified string `json:"LastModified,omitempty"`
			IsDisabled   string `json:"IsDisabled,omitempty"`
		} `json:"ValidValue,omitempty"`
		ID string `json:"id,omitempty"`
	} `json:"CodeList,omitempty"`
	DateGenerated string `json:"DateGenerated,omitempty"`
}

AcademicHonorsResponse is the golang struct implementation of all possible response fields from /codelist/academichonors. Consumers are responsible for ensuring omitted fields do not cause errors in consumer implementations.

type AcademicHonorsService added in v0.0.2

type AcademicHonorsService struct {
	Client *Client
}

AcademicHonorsService is used for interacting with the /codelist/academichonors endpoint of the usajobs api.

func NewAcademicHonorsService added in v0.0.2

func NewAcademicHonorsService(c *Client) *AcademicHonorsService

NewAcademicHonorsService instatiates and returns a search service for this client.

func (*AcademicHonorsService) WithOptions added in v0.0.2

WithOptions executes a request to the usajobs /codelist/academichonors endpoint with the provided options. Pass nil if no options desired.

type AcademicLevelsOptions added in v0.0.2

type AcademicLevelsOptions struct {
	LastModified string `url:"lastmodified,omitempty"`
}

AcademicLevelsOptions are the url query parameters supported by the /codelist/academiclevels usajobs api endpoint.

type AcademicLevelsResponse added in v0.0.2

type AcademicLevelsResponse struct {
	CodeList []struct {
		ValidValue []struct {
			Code         string `json:"Code,omitempty"`
			Value        string `json:"Value,omitempty"`
			LastModified string `json:"LastModified,omitempty"`
			IsDisabled   string `json:"IsDisabled,omitempty"`
		} `json:"ValidValue,omitempty"`
		ID string `json:"id,omitempty"`
	} `json:"CodeList,omitempty"`
	DateGenerated string `json:"DateGenerated,omitempty"`
}

AcademicLevelsResponse is the golang struct implementation of all possible response fields from /codelist/academiclevels. Consumers are responsible for ensuring omitted fields do not cause errors in consumer implementations.

type AcademicLevelsService added in v0.0.2

type AcademicLevelsService struct {
	Client *Client
}

AcademicLevelsService is used for interacting with the /codelist/academiclevels endpoint of the usajobs api.

func NewAcademicLevelsService added in v0.0.2

func NewAcademicLevelsService(c *Client) *AcademicLevelsService

NewAcademicHonorsService instatiates and returns a search service for this client.

func (*AcademicLevelsService) WithOptions added in v0.0.2

WithOptions executes a request to the usajobs /codelist/academichonors endpoint with the provided options. Pass nil if no options desired.

type AgencySubelementsOptions

type AgencySubelementsOptions struct {
	LastModified string `url:"lastmodified,omitempty"`
}

AgencySubelementsOptions are the url query parameters supported by the /codelist/agencysubelements usajobs api endpoint.

type AgencySubelementsResponse

type AgencySubelementsResponse struct {
	CodeList []struct {
		ValidValue []struct {
			Code         string `json:"Code,omitempty"`
			Value        string `json:"Value,omitempty"`
			LastModified string `json:"LastModified,omitempty"`
			IsDisabled   string `json:"IsDisabled,omitempty"`
		} `json:"ValidValue,omitempty"`
		ID string `json:"id,omitempty"`
	} `json:"CodeList,omitempty"`
	DateGenerated string `json:"DateGenerated,omitempty"`
}

AgencySubelementsResponse is the golang struct implementation of all possible response fields from /codelist/agencysubelements. Consumers are responsible for ensuring omitted fields do not cause errors in consumer implementations.

type AgencySubelementsService

type AgencySubelementsService struct {
	Client *Client
}

AgencySubelementsService is used for interacting with the /codelist/agencysubelements endpoint of the usajobs api.

func NewAgencySubelementsService

func NewAgencySubelementsService(c *Client) *AgencySubelementsService

NewAgencySubelementsService instatiates and returns a search service for this client.

func (*AgencySubelementsService) WithOptions

WithOptions executes a request to the usajobs /codelist/agencysubelements endpoint with the provided options. Pass nil if no options desired.

type ApplicantSuppliersOptions added in v0.0.2

type ApplicantSuppliersOptions struct {
	LastModified string `url:"lastmodified,omitempty"`
}

ApplicantSuppliersOptions are the url query parameters supported by the /codelist/applicantsuppliers usajobs api endpoint.

type ApplicantSuppliersResponse added in v0.0.2

type ApplicantSuppliersResponse struct {
	CodeList []struct {
		ValidValue []struct {
			Code         string `json:"Code,omitempty"`
			Value        string `json:"Value,omitempty"`
			LastModified string `json:"LastModified,omitempty"`
			IsDisabled   string `json:"IsDisabled,omitempty"`
		} `json:"ValidValue,omitempty"`
		ID string `json:"id,omitempty"`
	} `json:"CodeList,omitempty"`
	DateGenerated string `json:"DateGenerated,omitempty"`
}

ApplicantSuppliersResponse is the golang struct implementation of all possible response fields from /codelist/applicantsuppliers. Consumers are responsible for ensuring omitted fields do not cause errors in consumer implementations.

type ApplicantSuppliersService added in v0.0.2

type ApplicantSuppliersService struct {
	Client *Client
}

ApplicantSuppliersService is used for interacting with the /codelist/applicantsuppliers endpoint of the usajobs api.

func NewApplicantSuppliersService added in v0.0.2

func NewApplicantSuppliersService(c *Client) *ApplicantSuppliersService

NewApplicantSuppliersService instatiates and returns a search service for this client.

func (*ApplicantSuppliersService) WithOptions added in v0.0.2

WithOptions executes a request to the usajobs /codelist/academichonors endpoint with the provided options. Pass nil if no options desired.

type ApplicationStatusesOptions added in v0.0.2

type ApplicationStatusesOptions struct {
	LastModified string `url:"lastmodified,omitempty"`
}

ApplicationStatusesOptions are the url query parameters supported by the /codelist/applicationstatuses usajobs api endpoint.

type ApplicationStatusesResponse added in v0.0.2

type ApplicationStatusesResponse struct {
	CodeList []struct {
		ValidValue []struct {
			Code         string `json:"Code,omitempty"`
			Value        string `json:"Value,omitempty"`
			LastModified string `json:"LastModified,omitempty"`
			IsDisabled   string `json:"IsDisabled,omitempty"`
		} `json:"ValidValue,omitempty"`
		ID string `json:"id,omitempty"`
	} `json:"CodeList,omitempty"`
	DateGenerated string `json:"DateGenerated,omitempty"`
}

AcademicHonorsResponse is the golang struct implementation of all possible response fields from /codelist/applicationstatuses. Consumers are responsible for ensuring omitted fields do not cause errors in consumer implementations.

type ApplicationStatusesService added in v0.0.2

type ApplicationStatusesService struct {
	Client *Client
}

ApplicationStatusesService is used for interacting with the /codelist/applicationstatuses endpoint of the usajobs api.

func NewApplicationStatusesService added in v0.0.2

func NewApplicationStatusesService(c *Client) *ApplicationStatusesService

NewApplicationStatusesService instatiates and returns a search service for this client.

func (*ApplicationStatusesService) WithOptions added in v0.0.2

WithOptions executes a request to the usajobs /codelist/applicationstatuses endpoint with the provided options. Pass nil if no options desired.

type Client

type Client struct {

	// HTTP client used to communicate with the API.
	Client *http.Client

	// base url to uasjabs api (include /api/)
	BaseURL *url.URL

	// host sets the host header value for the client when communicating
	// with the usajobs api. This is a required field.
	// ref: https://developer.usajobs.gov/tutorials/search-jobs
	Host string

	// User agent used when communicating with the usajobs api. This is a
	// required field.
	UserAgent string

	// Api token for authenticating with the usajobs api. This is a required
	// field and can be requested from usajobs: https://developer.usajobs.gov/general/quick-start
	ApiToken string

	// services used for communicating with different aspects of the
	// usajobs api.
	Search                        *SearchService
	Agency                        *AgencySubelementsService
	AcademicHonors                *AcademicHonorsService
	AcademicLevels                *AcademicLevelsService
	ApplicantSuppliers            *ApplicantSuppliersService
	ApplicationStatuses           *ApplicationStatusesService
	Countries                     *CountriesService
	CountrySubdivisions           *CountrySubdivisionsService
	CyberWorkGroupings            *CyberWorkGroupingsService
	CyberWorkRoles                *CyberWorkRolesService
	DegreeTypeCode                *DegreeTypeCodeService
	Disabilities                  *DisabilitiesService
	Documentations                *DocumentationsService
	DocumentFormats               *DocumentFormatsService
	Ethnicities                   *EthnicitiesService
	FederalEmploymentStatuses     *FederalEmploymentStatusesService
	GeoLocCodes                   *GeoLocCodesService
	GsaGeoLocCodes                *GsaGeoLocCodesService
	HiringPaths                   *HiringPathsService
	KeyStandardRequirements       *KeyStandardRequirementsService
	LanguageCodes                 *LanguageCodesService
	LanguageProficiencies         *LanguageProficienciesService
	LocationExpansions            *LocationExpansionsService
	MilitaryStatusCodes           *MilitaryStatusCodesService
	MissionCriticalCodes          *MissionCriticalCodesService
	OccupationalSeries            *OccupationalSeriesService
	PayPlans                      *PayPlansService
	PositionOfferingTypes         *PositionOfferingTypesService
	PositionOpeningStatuses       *PositionOpeningsStatusesService
	PositionScheduleTypes         *PositionScheduleTypesService
	PostalCodes                   *PostalCodesService
	RaceCodes                     *RaceCodesService
	RefereeTypeCodes              *RefereeTypeCodesService
	RemunerationRateIntervalCodes *RemunerationRateIntervalCodesService
	RequiredStandardDocuments     *RequiredStandardDocumentsService
	SecurityClearances            *SecurityClearancesService
	ServiceTypes                  *ServiceTypesService
	SpecialHirings                *SpecialHiringsService
	TravelPercentages             *TravelPercentagesService
	WhoMayApply                   *WhoMayApplyService
}

Client contains the HTTP client for making apis calls and services for interacting with the different usajobs api endpoints

func NewClient

func NewClient(userAgent, apiToken string) (*Client, error)

NewClient requires a user agent and api token string variables and returns a Client object or error. The user agent string is the email address provided to usajobs when requesting an api token.

func (*Client) NewRequest

func (c *Client) NewRequest(method, urlStr string) (*http.Request, error)

NewRequest accepts a method string for the http method (ex., GET) and the url string. The url string is just the endpoint and query parameters without the baseurl. New Request also sets the required host headers for interacting with the usajobs api. Returns the created request or an error.

func (*Client) NewResponse added in v0.0.2

func (c *Client) NewResponse(endpoint string, opt interface{}, resp interface{}) (*http.Response, interface{}, error)

type CountriesOptions added in v0.0.2

type CountriesOptions struct {
	LastModified string `url:"lastmodified,omitempty"`
}

CountriesOptions are the url query parameters supported by the /codelist/countries usajobs api endpoint.

type CountriesResponse added in v0.0.2

type CountriesResponse struct {
	CodeList []struct {
		ValidValue []struct {
			Code         string `json:"Code,omitempty"`
			Value        string `json:"Value,omitempty"`
			LastModified string `json:"LastModified,omitempty"`
			IsDisabled   string `json:"IsDisabled,omitempty"`
		} `json:"ValidValue,omitempty"`
		ID string `json:"id,omitempty"`
	} `json:"CodeList,omitempty"`
	DateGenerated string `json:"DateGenerated,omitempty"`
}

CountriesResponse is the golang struct implementation of all possible response fields from /codelist/countries. Consumers are responsible for ensuring omitted fields do not cause errors in consumer implementations.

type CountriesService added in v0.0.2

type CountriesService struct {
	Client *Client
}

CountriesService is used for interacting with the /codelist/countries endpoint of the usajobs api.

func NewCountriesService added in v0.0.2

func NewCountriesService(c *Client) *CountriesService

NewCountriesService instatiates and returns a search service for this client.

func (*CountriesService) WithOptions added in v0.0.2

WithOptions executes a request to the usajobs /codelist/academichonors endpoint with the provided options. Pass nil if no options desired.

type CountrySubdivisionsOptions added in v0.0.2

type CountrySubdivisionsOptions struct {
	LastModified string `url:"lastmodified,omitempty"`
}

CountrySubdivisionsOptions are the url query parameters supported by the /codelist/countries usajobs api endpoint.

type CountrySubdivisionsResponse added in v0.0.2

type CountrySubdivisionsResponse struct {
	CodeList []struct {
		ValidValue []struct {
			Code         string `json:"Code,omitempty"`
			Value        string `json:"Value,omitempty"`
			LastModified string `json:"LastModified,omitempty"`
			IsDisabled   string `json:"IsDisabled,omitempty"`
		} `json:"ValidValue,omitempty"`
		ID string `json:"id,omitempty"`
	} `json:"CodeList,omitempty"`
	DateGenerated string `json:"DateGenerated,omitempty"`
}

CountrySubdivisionsResponse is the golang struct implementation of all possible response fields from /codelist/countries. Consumers are responsible for ensuring omitted fields do not cause errors in consumer implementations.

type CountrySubdivisionsService added in v0.0.2

type CountrySubdivisionsService struct {
	Client *Client
}

CountrySubdivisionsService is used for interacting with the /codelist/countrysubdivisions endpoint of the usajobs api.

func NewCountrySubdivisionsService added in v0.0.2

func NewCountrySubdivisionsService(c *Client) *CountrySubdivisionsService

NewCountrySubdivisionsService instatiates and returns a search service for this client.

func (*CountrySubdivisionsService) WithOptions added in v0.0.2

WithOptions executes a request to the usajobs /codelist/countries endpoint with the provided options. Pass nil if no options desired.

type CyberWorkGroupingsOptions added in v0.0.2

type CyberWorkGroupingsOptions struct {
	LastModified string `url:"lastmodified,omitempty"`
}

CyberWorkGroupingsOptions are the url query parameters supported by the /codelist/cyberworkgroupings usajobs api endpoint.

type CyberWorkGroupingsResponse added in v0.0.2

type CyberWorkGroupingsResponse struct {
	CodeList []struct {
		ValidValue []struct {
			Code         string `json:"Code,omitempty"`
			Value        string `json:"Value,omitempty"`
			LastModified string `json:"LastModified,omitempty"`
			IsDisabled   string `json:"IsDisabled,omitempty"`
		} `json:"ValidValue,omitempty"`
		ID string `json:"id,omitempty"`
	} `json:"CodeList,omitempty"`
	DateGenerated string `json:"DateGenerated,omitempty"`
}

CyberWorkGroupingsResponse is the golang struct implementation of all possible response fields from /codelist/cyberworkgroupings. Consumers are responsible for ensuring omitted fields do not cause errors in consumer implementations.

type CyberWorkGroupingsService added in v0.0.2

type CyberWorkGroupingsService struct {
	Client *Client
}

CyberWorkGroupingsService is used for interacting with the /codelist/cyberworkgroupings endpoint of the usajobs api.

func NewCyberWorkGroupingsService added in v0.0.2

func NewCyberWorkGroupingsService(c *Client) *CyberWorkGroupingsService

NewCyberWorkGroupingsService instatiates and returns a search service for this client.

func (*CyberWorkGroupingsService) WithOptions added in v0.0.2

WithOptions executes a request to the usajobs /codelist/cyberworkgroupings endpoint with the provided options. Pass nil if no options desired.

type CyberWorkRolesOptions added in v0.0.2

type CyberWorkRolesOptions struct {
	LastModified string `url:"lastmodified,omitempty"`
}

CyberWorkRolesOptions are the url query parameters supported by the /codelist/cyberworkroles usajobs api endpoint.

type CyberWorkRolesResponse added in v0.0.2

type CyberWorkRolesResponse struct {
	CodeList []struct {
		ValidValue []struct {
			Code         string `json:"Code,omitempty"`
			Value        string `json:"Value,omitempty"`
			LastModified string `json:"LastModified,omitempty"`
			IsDisabled   string `json:"IsDisabled,omitempty"`
		} `json:"ValidValue,omitempty"`
		ID string `json:"id,omitempty"`
	} `json:"CodeList,omitempty"`
	DateGenerated string `json:"DateGenerated,omitempty"`
}

CyberWorkRolesResponse is the golang struct implementation of all possible response fields from /codelist/cyberworkroles. Consumers are responsible for ensuring omitted fields do not cause errors in consumer implementations.

type CyberWorkRolesService added in v0.0.2

type CyberWorkRolesService struct {
	Client *Client
}

CyberWorkRolesService is used for interacting with the /codelist/cyberworkroles endpoint of the usajobs api.

func NewCyberWorkRolesService added in v0.0.2

func NewCyberWorkRolesService(c *Client) *CyberWorkRolesService

NewCyberWorkRolesService instatiates and returns a search service for this client.

func (*CyberWorkRolesService) WithOptions added in v0.0.2

WithOptions executes a request to the usajobs /codelist/cyberworkroles endpoint with the provided options. Pass nil if no options desired.

type DegreeTypeCodeOptions added in v0.0.2

type DegreeTypeCodeOptions struct {
	LastModified string `url:"lastmodified,omitempty"`
}

DegreeTypeCodeOptions are the url query parameters supported by the /codelist/dgreetypecode usajobs api endpoint.

type DegreeTypeCodeResponse added in v0.0.2

type DegreeTypeCodeResponse struct {
	CodeList []struct {
		ValidValue []struct {
			Code         string `json:"Code,omitempty"`
			Value        string `json:"Value,omitempty"`
			LastModified string `json:"LastModified,omitempty"`
			IsDisabled   string `json:"IsDisabled,omitempty"`
		} `json:"ValidValue,omitempty"`
		ID string `json:"id,omitempty"`
	} `json:"CodeList,omitempty"`
	DateGenerated string `json:"DateGenerated,omitempty"`
}

DegreeTypeCodeResponse is the golang struct implementation of all possible response fields from /codelist/degreetypecode. Consumers are responsible for ensuring omitted fields do not cause errors in consumer implementations.

type DegreeTypeCodeService added in v0.0.2

type DegreeTypeCodeService struct {
	Client *Client
}

DegreeTypeCodeService is used for interacting with the /codelist/degreetypecode endpoint of the usajobs api.

func NewDegreeTypeCodeService added in v0.0.2

func NewDegreeTypeCodeService(c *Client) *DegreeTypeCodeService

NewDegreeTypeCodeService instatiates and returns a search service for this client.

func (*DegreeTypeCodeService) WithOptions added in v0.0.2

WithOptions executes a request to the usajobs /codelist/degreetypecode endpoint with the provided options. Pass nil if no options desired.

type DisabilitiesOptions added in v0.0.2

type DisabilitiesOptions struct {
	LastModified string `url:"lastmodified,omitempty"`
}

DisabilitiesOptions are the url query parameters supported by the /codelist/disabilities usajobs api endpoint.

type DisabilitiesResponse added in v0.0.2

type DisabilitiesResponse struct {
	CodeList []struct {
		ValidValue []struct {
			Code         string `json:"Code,omitempty"`
			Value        string `json:"Value,omitempty"`
			LastModified string `json:"LastModified,omitempty"`
			IsDisabled   string `json:"IsDisabled,omitempty"`
		} `json:"ValidValue,omitempty"`
		ID string `json:"id,omitempty"`
	} `json:"CodeList,omitempty"`
	DateGenerated string `json:"DateGenerated,omitempty"`
}

DisabilitiesResponse is the golang struct implementation of all possible response fields from /codelist/disabilities. Consumers are responsible for ensuring omitted fields do not cause errors in consumer implementations.

type DisabilitiesService added in v0.0.2

type DisabilitiesService struct {
	Client *Client
}

DisabilitiesService is used for interacting with the /codelist/disabilities endpoint of the usajobs api.

func NewDisabilitiesService added in v0.0.2

func NewDisabilitiesService(c *Client) *DisabilitiesService

NewDisabilitiesService instatiates and returns a search service for this client.

func (*DisabilitiesService) WithOptions added in v0.0.2

WithOptions executes a request to the usajobs /codelist/disabilities endpoint with the provided options. Pass nil if no options desired.

type DocumentFormatsOptions added in v0.0.2

type DocumentFormatsOptions struct {
	LastModified string `url:"lastmodified,omitempty"`
}

DocumentFormatsOptions are the url query parameters supported by the /codelist/documentformats usajobs api endpoint.

type DocumentFormatsResponse added in v0.0.2

type DocumentFormatsResponse struct {
	CodeList []struct {
		ValidValue []struct {
			Code         string `json:"Code,omitempty"`
			Value        string `json:"Value,omitempty"`
			LastModified string `json:"LastModified,omitempty"`
			IsDisabled   string `json:"IsDisabled,omitempty"`
		} `json:"ValidValue,omitempty"`
		ID string `json:"id,omitempty"`
	} `json:"CodeList,omitempty"`
	DateGenerated string `json:"DateGenerated,omitempty"`
}

DocumentFormatsResponse is the golang struct implementation of all possible response fields from /codelist/documentformats. Consumers are responsible for ensuring omitted fields do not cause errors in consumer implementations.

type DocumentFormatsService added in v0.0.2

type DocumentFormatsService struct {
	Client *Client
}

DocumentFormatsService is used for interacting with the /codelist/documentformats endpoint of the usajobs api.

func NewDocumentFormatsService added in v0.0.2

func NewDocumentFormatsService(c *Client) *DocumentFormatsService

NewDocumentFormatsService instatiates and returns a search service for this client.

func (*DocumentFormatsService) WithOptions added in v0.0.2

WithOptions executes a request to the usajobs /codelist/academichonors endpoint with the provided options. Pass nil if no options desired.

type DocumentationsOptions added in v0.0.2

type DocumentationsOptions struct {
	LastModified string `url:"lastmodified,omitempty"`
}

DocumentationsOptions are the url query parameters supported by the /codelist/documentations usajobs api endpoint.

type DocumentationsResponse added in v0.0.2

type DocumentationsResponse struct {
	CodeList []struct {
		ValidValue []struct {
			Code         string `json:"Code,omitempty"`
			Value        string `json:"Value,omitempty"`
			LastModified string `json:"LastModified,omitempty"`
			IsDisabled   string `json:"IsDisabled,omitempty"`
		} `json:"ValidValue,omitempty"`
		ID string `json:"id,omitempty"`
	} `json:"CodeList,omitempty"`
	DateGenerated string `json:"DateGenerated,omitempty"`
}

DocumentationsResponse is the golang struct implementation of all possible response fields from /codelist/documentations. Consumers are responsible for ensuring omitted fields do not cause errors in consumer implementations.

type DocumentationsService added in v0.0.2

type DocumentationsService struct {
	Client *Client
}

DocumentationsService is used for interacting with the /codelist/documentations endpoint of the usajobs api.

func NewDocumentationsService added in v0.0.2

func NewDocumentationsService(c *Client) *DocumentationsService

NewDocumentationsService instatiates and returns a search service for this client.

func (*DocumentationsService) WithOptions added in v0.0.2

WithOptions executes a request to the usajobs /codelist/documentations endpoint with the provided options. Pass nil if no options desired.

type EthnicitiesOptions added in v0.0.2

type EthnicitiesOptions struct {
	LastModified string `url:"lastmodified,omitempty"`
}

EthnicitiesOptions are the url query parameters supported by the /codelist/EthnicitiesOptions usajobs api endpoint.

type EthnicitiesResponse added in v0.0.2

type EthnicitiesResponse struct {
	CodeList []struct {
		ValidValue []struct {
			Code         string `json:"Code,omitempty"`
			Value        string `json:"Value,omitempty"`
			LastModified string `json:"LastModified,omitempty"`
			IsDisabled   string `json:"IsDisabled,omitempty"`
		} `json:"ValidValue,omitempty"`
		ID string `json:"id,omitempty"`
	} `json:"CodeList,omitempty"`
	DateGenerated string `json:"DateGenerated,omitempty"`
}

EthnicitiesResponse is the golang struct implementation of all possible response fields from /codelist/ethnicities. Consumers are responsible for ensuring omitted fields do not cause errors in consumer implementations.

type EthnicitiesService added in v0.0.2

type EthnicitiesService struct {
	Client *Client
}

EthnicitiesService is used for interacting with the /codelist/ethnicities endpoint of the usajobs api.

func NewEthnicitiesService added in v0.0.2

func NewEthnicitiesService(c *Client) *EthnicitiesService

NewEthnicitiesService instatiates and returns a search service for this client.

func (*EthnicitiesService) WithOptions added in v0.0.2

WithOptions executes a request to the usajobs /codelist/ethnicities endpoint with the provided options. Pass nil if no options desired.

type FederalEmploymentStatusesOptions added in v0.0.2

type FederalEmploymentStatusesOptions struct {
	LastModified string `url:"lastmodified,omitempty"`
}

FederalEmploymentStatusesOptions are the url query parameters supported by the /codelist/federalemploymentstatuses usajobs api endpoint.

type FederalEmploymentStatusesResponse added in v0.0.2

type FederalEmploymentStatusesResponse struct {
	CodeList []struct {
		ValidValue []struct {
			Code         string `json:"Code,omitempty"`
			Value        string `json:"Value,omitempty"`
			LastModified string `json:"LastModified,omitempty"`
			IsDisabled   string `json:"IsDisabled,omitempty"`
		} `json:"ValidValue,omitempty"`
		ID string `json:"id,omitempty"`
	} `json:"CodeList,omitempty"`
	DateGenerated string `json:"DateGenerated,omitempty"`
}

FederalEmploymentStatusesResponse is the golang struct implementation of all possible response fields from /codelist/federalemploymentstatuses. Consumers are responsible for ensuring omitted fields do not cause errors in consumer implementations.

type FederalEmploymentStatusesService added in v0.0.2

type FederalEmploymentStatusesService struct {
	Client *Client
}

FederalEmploymentStatusesService is used for interacting with the /codelist/federalemploymentstatuses endpoint of the usajobs api.

func NewFederalEmploymentStatusesService added in v0.0.2

func NewFederalEmploymentStatusesService(c *Client) *FederalEmploymentStatusesService

NewFederalEmploymentStatusesService instatiates and returns a search service for this client.

func (*FederalEmploymentStatusesService) WithOptions added in v0.0.2

WithOptions executes a request to the usajobs /codelist/federalemploymentstatuses endpoint with the provided options. Pass nil if no optons desired.

type GeoLocCodesOptions added in v0.0.2

type GeoLocCodesOptions struct {
	LastModified string `url:"lastmodified,omitempty"`
}

GeoLocCodesOptions are the url query parameters supported by the /codelist/geoloccodes usajobs api endpoint.

type GeoLocCodesResponse added in v0.0.2

type GeoLocCodesResponse struct {
	CodeList []struct {
		ValidValue []struct {
			Code         string `json:"Code,omitempty"`
			Value        string `json:"Value,omitempty"`
			LastModified string `json:"LastModified,omitempty"`
			IsDisabled   string `json:"IsDisabled,omitempty"`
		} `json:"ValidValue,omitempty"`
		ID string `json:"id,omitempty"`
	} `json:"CodeList,omitempty"`
	DateGenerated string `json:"DateGenerated,omitempty"`
}

GeoLocCodesResponse is the golang struct implementation of all possible response fields from /codelist/geoloccodes. Consumers are responsible for ensuring omitted fields do not cause errors in consumer implementations.

type GeoLocCodesService added in v0.0.2

type GeoLocCodesService struct {
	Client *Client
}

GeoLocCodesService is used for interacting with the /codelist/geoloccodes endpoint of the usajobs api.

func NewGeoLocCodesService added in v0.0.2

func NewGeoLocCodesService(c *Client) *GeoLocCodesService

NewGeoLocCodesService instatiates and returns a search service for this client.

func (*GeoLocCodesService) WithOptions added in v0.0.2

WithOptions executes a request to the usajobs /codelist/geoloccodes endpoint with the provided options. Pass nil if no options desired.

type GsaGeoLocCodesOptions added in v0.0.2

type GsaGeoLocCodesOptions struct {
	LastModified string `url:"lastmodified,omitempty"`
}

GsaGeoLocCodesOptions are the url query parameters supported by the /codelist/gsageoloccodes usajobs api endpoint.

type GsaGeoLocCodesResponse added in v0.0.2

type GsaGeoLocCodesResponse struct {
	CodeList []struct {
		ValidValue []struct {
			Code         string `json:"Code,omitempty"`
			Value        string `json:"Value,omitempty"`
			LastModified string `json:"LastModified,omitempty"`
			IsDisabled   string `json:"IsDisabled,omitempty"`
		} `json:"ValidValue,omitempty"`
		ID string `json:"id,omitempty"`
	} `json:"CodeList,omitempty"`
	DateGenerated string `json:"DateGenerated,omitempty"`
}

GsaGeoLocCodesResponse is the golang struct implementation of all possible response fields from /codelist/gsageoloccodes. Consumers are responsible for ensuring omitted fields do not cause errors in consumer implementations.

type GsaGeoLocCodesService added in v0.0.2

type GsaGeoLocCodesService struct {
	Client *Client
}

GsaGeoLocCodesService is used for interacting with the /codelist/gsageoloccodes endpoint of the usajobs api.

func NewGsaGeoLocCodesService added in v0.0.2

func NewGsaGeoLocCodesService(c *Client) *GsaGeoLocCodesService

NewGsaGeoLocCodesService instatiates and returns a search service for this client.

func (*GsaGeoLocCodesService) WithOptions added in v0.0.2

WithOptions executes a request to the usajobs /codelist/gsageoloccodes endpoint with the provided options. Pass nil if no options desired.

type HiringPathsOptions added in v0.0.2

type HiringPathsOptions struct {
	LastModified string `url:"lastmodified,omitempty"`
}

HiringPathsOptions are the url query parameters supported by the /codelist/hiringpaths usajobs api endpoint.

type HiringPathsResponse added in v0.0.2

type HiringPathsResponse struct {
	CodeList []struct {
		ValidValue []struct {
			Code         string `json:"Code,omitempty"`
			Value        string `json:"Value,omitempty"`
			LastModified string `json:"LastModified,omitempty"`
			IsDisabled   string `json:"IsDisabled,omitempty"`
		} `json:"ValidValue,omitempty"`
		ID string `json:"id,omitempty"`
	} `json:"CodeList,omitempty"`
	DateGenerated string `json:"DateGenerated,omitempty"`
}

HiringPathsResponse is the golang struct implementation of all possible response fields from /codelist/hiringpaths. Consumers are responsible for ensuring omitted fields do not cause errors in consumer implementations.

type HiringPathsService added in v0.0.2

type HiringPathsService struct {
	Client *Client
}

HiringPathsService is used for interacting with the /codelist/hiringpaths endpoint of the usajobs api.

func NewHiringPathsService added in v0.0.2

func NewHiringPathsService(c *Client) *HiringPathsService

NewHiringPathsService instatiates and returns a search service for this client.

func (*HiringPathsService) WithOptions added in v0.0.2

WithOptions executes a request to the usajobs /codelist/hiringpaths endpoint with the provided options. Pass nil if no options desired.

type KeyStandardRequirementsOptions added in v0.0.2

type KeyStandardRequirementsOptions struct {
	LastModified string `url:"lastmodified,omitempty"`
}

KeyStandardRequirementsOptions are the url query parameters supported by the /codelist/keystandardrequirements usajobs api endpoint.

type KeyStandardRequirementsResponse added in v0.0.2

type KeyStandardRequirementsResponse struct {
	CodeList []struct {
		ValidValue []struct {
			Code         string `json:"Code,omitempty"`
			Value        string `json:"Value,omitempty"`
			LastModified string `json:"LastModified,omitempty"`
			IsDisabled   string `json:"IsDisabled,omitempty"`
		} `json:"ValidValue,omitempty"`
		ID string `json:"id,omitempty"`
	} `json:"CodeList,omitempty"`
	DateGenerated string `json:"DateGenerated,omitempty"`
}

KeyStandardRequirementsResponse is the golang struct implementation of all possible response fields from /codelist/academichonors. Consumers are responsible for ensuring omitted fields do not cause errors in consumer implementations.

type KeyStandardRequirementsService added in v0.0.2

type KeyStandardRequirementsService struct {
	Client *Client
}

KeyStandardRequirementsService is used for interacting with the /codelist/keystandardrequirements endpoint of the usajobs api.

func NewKeyStandardRequirementsService added in v0.0.2

func NewKeyStandardRequirementsService(c *Client) *KeyStandardRequirementsService

NewKeyStandardRequirementsService instatiates and returns a search service for this client.

func (*KeyStandardRequirementsService) WithOptions added in v0.0.2

WithOptions executes a request to the usajobs /codelist/keystandardrequirements endpoint with the provided options. Pass nil if no options desired.

type LanguageCodesOptions added in v0.0.2

type LanguageCodesOptions struct {
	LastModified string `url:"lastmodified,omitempty"`
}

LanguageCodesOptions are the url query parameters supported by the /codelist/languagecodes usajobs api endpoint.

type LanguageCodesResponse added in v0.0.2

type LanguageCodesResponse struct {
	CodeList []struct {
		ValidValue []struct {
			Code         string `json:"Code,omitempty"`
			Value        string `json:"Value,omitempty"`
			LastModified string `json:"LastModified,omitempty"`
			IsDisabled   string `json:"IsDisabled,omitempty"`
		} `json:"ValidValue,omitempty"`
		ID string `json:"id,omitempty"`
	} `json:"CodeList,omitempty"`
	DateGenerated string `json:"DateGenerated,omitempty"`
}

LanguageCodesResponse is the golang struct implementation of all possible response fields from /codelist/languagecodes. Consumers are responsible for ensuring omitted fields do not cause errors in consumer implementations.

type LanguageCodesService added in v0.0.2

type LanguageCodesService struct {
	Client *Client
}

LanguageCodesService is used for interacting with the /codelist/languagecodes endpoint of the usajobs api.

func NewLanguageCodesService added in v0.0.2

func NewLanguageCodesService(c *Client) *LanguageCodesService

NewLanguageCodesService instatiates and returns a search service for this client.

func (*LanguageCodesService) WithOptions added in v0.0.2

WithOptions executes a request to the usajobs /codelist/languagecodes endpoint with the provided options. Pass nil if no options desired.

type LanguageProficienciesOptions added in v0.0.2

type LanguageProficienciesOptions struct {
	LastModified string `url:"lastmodified,omitempty"`
}

LanguageProficienciesOptions are the url query parameters supported by the /codelist/languageproficiencies usajobs api endpoint.

type LanguageProficienciesResponse added in v0.0.2

type LanguageProficienciesResponse struct {
	CodeList []struct {
		ValidValue []struct {
			Code         string `json:"Code,omitempty"`
			Value        string `json:"Value,omitempty"`
			LastModified string `json:"LastModified,omitempty"`
			IsDisabled   string `json:"IsDisabled,omitempty"`
		} `json:"ValidValue,omitempty"`
		ID string `json:"id,omitempty"`
	} `json:"CodeList,omitempty"`
	DateGenerated string `json:"DateGenerated,omitempty"`
}

LanguageProficienciesResponse is the golang struct implementation of all possible response fields from /codelist/languageproficiencies. Consumers are responsible for ensuring omitted fields do not cause errors in consumer implementations.

type LanguageProficienciesService added in v0.0.2

type LanguageProficienciesService struct {
	Client *Client
}

LanguageProficienciesService is used for interacting with the /codelist/languageproficiencies endpoint of the usajobs api.

func NewLanguageProficienciesService added in v0.0.2

func NewLanguageProficienciesService(c *Client) *LanguageProficienciesService

NewLanguageProficienciesService instatiates and returns a search service for this client.

func (*LanguageProficienciesService) WithOptions added in v0.0.2

WithOptions executes a request to the usajobs /codelist/languageproficiencies endpoint with the provided options. Pass nil if no options desired.

type LocationExpansionsOptions added in v0.0.2

type LocationExpansionsOptions struct {
	LastModified string `url:"lastmodified,omitempty"`
}

LocationExpansionsOptions are the url query parameters supported by the /codelist/locationexpansions usajobs api endpoint.

type LocationExpansionsResponse added in v0.0.2

type LocationExpansionsResponse struct {
	CodeList []struct {
		ValidValue []struct {
			Code         string `json:"Code,omitempty"`
			Value        string `json:"Value,omitempty"`
			LastModified string `json:"LastModified,omitempty"`
			IsDisabled   string `json:"IsDisabled,omitempty"`
		} `json:"ValidValue,omitempty"`
		ID string `json:"id,omitempty"`
	} `json:"CodeList,omitempty"`
	DateGenerated string `json:"DateGenerated,omitempty"`
}

LocationExpansionsResponse is the golang struct implementation of all possible response fields from /codelist/locationexpansions. Consumers are responsible for ensuring omitted fields do not cause errors in consumer implementations.

type LocationExpansionsService added in v0.0.2

type LocationExpansionsService struct {
	Client *Client
}

LocationExpansionsService is used for interacting with the /codelist/locationexpansions endpoint of the usajobs api.

func NewLocationExpansionsService added in v0.0.2

func NewLocationExpansionsService(c *Client) *LocationExpansionsService

NewLocationExpansionsService instatiates and returns a search service for this client.

func (*LocationExpansionsService) WithOptions added in v0.0.2

WithOptions executes a request to the usajobs /codelist/locationexpansions endpoint with the provided options. Pass nil if no options desired.

type MilitaryStatusCodesOptions added in v0.0.2

type MilitaryStatusCodesOptions struct {
	LastModified string `url:"lastmodified,omitempty"`
}

MilitaryStatusCodesOptions are the url query parameters supported by the /codelist/militarystatuscodes usajobs api endpoint.

type MilitaryStatusCodesResponse added in v0.0.2

type MilitaryStatusCodesResponse struct {
	CodeList []struct {
		ValidValue []struct {
			Code         string `json:"Code,omitempty"`
			Value        string `json:"Value,omitempty"`
			LastModified string `json:"LastModified,omitempty"`
			IsDisabled   string `json:"IsDisabled,omitempty"`
		} `json:"ValidValue,omitempty"`
		ID string `json:"id,omitempty"`
	} `json:"CodeList,omitempty"`
	DateGenerated string `json:"DateGenerated,omitempty"`
}

MilitaryStatusCodesResponse is the golang struct implementation of all possible response fields from /codelist/militarystatuscodes. Consumers are responsible for ensuring omitted fields do not cause errors in consumer implementations.

type MilitaryStatusCodesService added in v0.0.2

type MilitaryStatusCodesService struct {
	Client *Client
}

MilitaryStatusCodesService is used for interacting with the /codelist/militarystatuscodes endpoint of the usajobs api.

func NewMilitaryStatusCodesService added in v0.0.2

func NewMilitaryStatusCodesService(c *Client) *MilitaryStatusCodesService

NewMilitaryStatusCodesService instatiates and returns a search service for this client.

func (*MilitaryStatusCodesService) WithOptions added in v0.0.2

WithOptions executes a request to the usajobs /codelist/militarystatuscodes endpoint with the provided options. Pass nil if no options desired.

type MissionCriticalCodesOptions added in v0.0.2

type MissionCriticalCodesOptions struct {
	LastModified string `url:"lastmodified,omitempty"`
}

MissionCriticalCodesOptions are the url query parameters supported by the /codelist/missioncriticalcodes usajobs api endpoint.

type MissionCriticalCodesResponse added in v0.0.2

type MissionCriticalCodesResponse struct {
	CodeList []struct {
		ValidValue []struct {
			Code         string `json:"Code,omitempty"`
			Value        string `json:"Value,omitempty"`
			LastModified string `json:"LastModified,omitempty"`
			IsDisabled   string `json:"IsDisabled,omitempty"`
		} `json:"ValidValue,omitempty"`
		ID string `json:"id,omitempty"`
	} `json:"CodeList,omitempty"`
	DateGenerated string `json:"DateGenerated,omitempty"`
}

MissionCriticalCodesResponse is the golang struct implementation of all possible response fields from /codelist/missioncriticalcodes. Consumers are responsible for ensuring omitted fields do not cause errors in consumer implementations.

type MissionCriticalCodesService added in v0.0.2

type MissionCriticalCodesService struct {
	Client *Client
}

MissionCriticalCodesService is used for interacting with the /codelist/missioncriticalcodes endpoint of the usajobs api.

func NewMissionCriticalCodesService added in v0.0.2

func NewMissionCriticalCodesService(c *Client) *MissionCriticalCodesService

NewMissionCriticalCodesService instatiates and returns a search service for this client.

func (*MissionCriticalCodesService) WithOptions added in v0.0.2

WithOptions executes a request to the usajobs /codelist/missioncriticalcodes endpoint with the provided options. Pass nil if no options desired.

type OccupationalSeriesOptions added in v0.0.2

type OccupationalSeriesOptions struct {
	LastModified string `url:"lastmodified,omitempty"`
}

OccupationalSeriesOptions are the url query parameters supported by the /codelist/occupationalseries usajobs api endpoint.

type OccupationalSeriesResponse added in v0.0.2

type OccupationalSeriesResponse struct {
	CodeList []struct {
		ValidValue []struct {
			Code         string `json:"Code,omitempty"`
			Value        string `json:"Value,omitempty"`
			LastModified string `json:"LastModified,omitempty"`
			IsDisabled   string `json:"IsDisabled,omitempty"`
		} `json:"ValidValue,omitempty"`
		ID string `json:"id,omitempty"`
	} `json:"CodeList,omitempty"`
	DateGenerated string `json:"DateGenerated,omitempty"`
}

OccupationalSeriesResponse is the golang struct implementation of all possible response fields from /codelist/occupationalseries. Consumers are responsible for ensuring omitted fields do not cause errors in consumer implementations.

type OccupationalSeriesService added in v0.0.2

type OccupationalSeriesService struct {
	Client *Client
}

OccupationalSeriesService is used for interacting with the /codelist/occupationalseries endpoint of the usajobs api.

func NewOccupationalSeriesService added in v0.0.2

func NewOccupationalSeriesService(c *Client) *OccupationalSeriesService

NewOccupationalSeriesService instatiates and returns a search service for this client.

func (*OccupationalSeriesService) WithOptions added in v0.0.2

WithOptions executes a request to the usajobs /codelist/occupationalseries endpoint with the provided options. Pass nil if no options desired.

type PayPlansOptions added in v0.0.2

type PayPlansOptions struct {
	LastModified string `url:"lastmodified,omitempty"`
}

PayPlansOptions are the url query parameters supported by the /codelist/payplans usajobs api endpoint.

type PayPlansResponse added in v0.0.2

type PayPlansResponse struct {
	CodeList []struct {
		ValidValue []struct {
			Code         string `json:"Code,omitempty"`
			Value        string `json:"Value,omitempty"`
			LastModified string `json:"LastModified,omitempty"`
			IsDisabled   string `json:"IsDisabled,omitempty"`
		} `json:"ValidValue,omitempty"`
		ID string `json:"id,omitempty"`
	} `json:"CodeList,omitempty"`
	DateGenerated string `json:"DateGenerated,omitempty"`
}

PayPlansResponse is the golang struct implementation of all possible response fields from /codelist/payplans. Consumers are responsible for ensuring omitted fields do not cause errors in consumer implementations.

type PayPlansService added in v0.0.2

type PayPlansService struct {
	Client *Client
}

PayPlansService is used for interacting with the /codelist/payplans endpoint of the usajobs api.

func NewPayPlansService added in v0.0.2

func NewPayPlansService(c *Client) *PayPlansService

NewPayPlansService instatiates and returns a search service for this client.

func (*PayPlansService) WithOptions added in v0.0.2

func (as *PayPlansService) WithOptions(opt *PayPlansOptions) (*http.Response, *PayPlansResponse, error)

WithOptions executes a request to the usajobs /codelist/payplans endpoint with the provided options. Pass nil if no options desired.

type PositionOfferingTypesOptions added in v0.0.2

type PositionOfferingTypesOptions struct {
	LastModified string `url:"lastmodified,omitempty"`
}

PositionOfferingTypesOptions are the url query parameters supported by the /codelist/positionofferingtypes usajobs api endpoint.

type PositionOfferingTypesResponse added in v0.0.2

type PositionOfferingTypesResponse struct {
	CodeList []struct {
		ValidValue []struct {
			Code         string `json:"Code,omitempty"`
			Value        string `json:"Value,omitempty"`
			LastModified string `json:"LastModified,omitempty"`
			IsDisabled   string `json:"IsDisabled,omitempty"`
		} `json:"ValidValue,omitempty"`
		ID string `json:"id,omitempty"`
	} `json:"CodeList,omitempty"`
	DateGenerated string `json:"DateGenerated,omitempty"`
}

PositionOfferingTypesResponse is the golang struct implementation of all possible response fields from /codelist/positionofferingtypes. Consumers are responsible for ensuring omitted fields do not cause errors in consumer implementations.

type PositionOfferingTypesService added in v0.0.2

type PositionOfferingTypesService struct {
	Client *Client
}

PositionOfferingTypesService is used for interacting with the /codelist/positionofferingtypes endpoint of the usajobs api.

func NewPositionOfferingTypesService added in v0.0.2

func NewPositionOfferingTypesService(c *Client) *PositionOfferingTypesService

NewPositionOfferingTypesService instatiates and returns a search service for this client.

func (*PositionOfferingTypesService) WithOptions added in v0.0.2

WithOptions executes a request to the usajobs /codelist/positionofferingtypes endpoint with the provided options. Pass nil if no options desired.

type PositionOpeningsStatusesOptions added in v0.0.2

type PositionOpeningsStatusesOptions struct {
	LastModified string `url:"lastmodified,omitempty"`
}

PositionOpeningsStatusesOptions are the url query parameters supported by the /codelist/positionopeningstatuses usajobs api endpoint.

type PositionOpeningsStatusesResponse added in v0.0.2

type PositionOpeningsStatusesResponse struct {
	CodeList []struct {
		ValidValue []struct {
			Code         string `json:"Code,omitempty"`
			Value        string `json:"Value,omitempty"`
			LastModified string `json:"LastModified,omitempty"`
			IsDisabled   string `json:"IsDisabled,omitempty"`
		} `json:"ValidValue,omitempty"`
		ID string `json:"id,omitempty"`
	} `json:"CodeList,omitempty"`
	DateGenerated string `json:"DateGenerated,omitempty"`
}

PositionOpeningsStatusesResponse is the golang struct implementation of all possible response fields from /codelist/positionopeningstatuses. Consumers are responsible for ensuring omitted fields do not cause errors in consumer implementations.

type PositionOpeningsStatusesService added in v0.0.2

type PositionOpeningsStatusesService struct {
	Client *Client
}

PositionOpeningsStatusesService is used for interacting with the /codelist/positionopeningstatuses endpoint of the usajobs api.

func NewPositionOpeningsStatusesService added in v0.0.2

func NewPositionOpeningsStatusesService(c *Client) *PositionOpeningsStatusesService

NewPositionOpeningsStatusesService instatiates and returns a search service for this client.

func (*PositionOpeningsStatusesService) WithOptions added in v0.0.2

WithOptions executes a request to the usajobs /codelist/positionopeningstatuses endpoint with the provided options. Pass nil if no options desired.

type PositionScheduleTypesOptions added in v0.0.2

type PositionScheduleTypesOptions struct {
	LastModified string `url:"lastmodified,omitempty"`
}

PositionScheduleTypesOptions are the url query parameters supported by the /codelist/positionscheduletypes usajobs api endpoint.

type PositionScheduleTypesResponse added in v0.0.2

type PositionScheduleTypesResponse struct {
	CodeList []struct {
		ValidValue []struct {
			Code         string `json:"Code,omitempty"`
			Value        string `json:"Value,omitempty"`
			LastModified string `json:"LastModified,omitempty"`
			IsDisabled   string `json:"IsDisabled,omitempty"`
		} `json:"ValidValue,omitempty"`
		ID string `json:"id,omitempty"`
	} `json:"CodeList,omitempty"`
	DateGenerated string `json:"DateGenerated,omitempty"`
}

PositionScheduleTypesResponse is the golang struct implementation of all possible response fields from /codelist/positionscheduletypes. Consumers are responsible for ensuring omitted fields do not cause errors in consumer implementations.

type PositionScheduleTypesService added in v0.0.2

type PositionScheduleTypesService struct {
	Client *Client
}

PositionScheduleTypesService is used for interacting with the /codelist/positionscheduletypes endpoint of the usajobs api.

func NewPositionScheduleTypesService added in v0.0.2

func NewPositionScheduleTypesService(c *Client) *PositionScheduleTypesService

NewPositionScheduleTypesService instatiates and returns a search service for this client.

func (*PositionScheduleTypesService) WithOptions added in v0.0.2

WithOptions executes a request to the usajobs /codelist/positionscheduletypes endpoint with the provided options. Pass nil if no options desired.

type PostalCodesOptions added in v0.0.2

type PostalCodesOptions struct {
	LastModified string `url:"lastmodified,omitempty"`
}

PostalCodesOptions are the url query parameters supported by the /codelist/postalcodes usajobs api endpoint.

type PostalCodesResponse added in v0.0.2

type PostalCodesResponse struct {
	CodeList []struct {
		ValidValue []struct {
			Code         string `json:"Code,omitempty"`
			Value        string `json:"Value,omitempty"`
			LastModified string `json:"LastModified,omitempty"`
			IsDisabled   string `json:"IsDisabled,omitempty"`
		} `json:"ValidValue,omitempty"`
		ID string `json:"id,omitempty"`
	} `json:"CodeList,omitempty"`
	DateGenerated string `json:"DateGenerated,omitempty"`
}

PostalCodesResponse is the golang struct implementation of all possible response fields from /codelist/postalcodes. Consumers are responsible for ensuring omitted fields do not cause errors in consumer implementations.

type PostalCodesService added in v0.0.2

type PostalCodesService struct {
	Client *Client
}

PostalCodesService is used for interacting with the /codelist/postalcodes endpoint of the usajobs api.

func NewPostalCodesService added in v0.0.2

func NewPostalCodesService(c *Client) *PostalCodesService

NewPostalCodesService instatiates and returns a search service for this client.

func (*PostalCodesService) WithOptions added in v0.0.2

WithOptions executes a request to the usajobs /codelist/postalcodes endpoint with the provided options. Pass nil if no options desired.

type RaceCodesOptions added in v0.0.2

type RaceCodesOptions struct {
	LastModified string `url:"lastmodified,omitempty"`
}

RaceCodesOptions are the url query parameters supported by the /codelist/racecodes usajobs api endpoint.

type RaceCodesResponse added in v0.0.2

type RaceCodesResponse struct {
	CodeList []struct {
		ValidValue []struct {
			Code         string `json:"Code,omitempty"`
			Value        string `json:"Value,omitempty"`
			LastModified string `json:"LastModified,omitempty"`
			IsDisabled   string `json:"IsDisabled,omitempty"`
		} `json:"ValidValue,omitempty"`
		ID string `json:"id,omitempty"`
	} `json:"CodeList,omitempty"`
	DateGenerated string `json:"DateGenerated,omitempty"`
}

RaceCodesResponse is the golang struct implementation of all possible response fields from /codelist/racecodes. Consumers are responsible for ensuring omitted fields do not cause errors in consumer implementations.

type RaceCodesService added in v0.0.2

type RaceCodesService struct {
	Client *Client
}

RaceCodesService is used for interacting with the /codelist/racecodes endpoint of the usajobs api.

func NewRaceCodesService added in v0.0.2

func NewRaceCodesService(c *Client) *RaceCodesService

NewRaceCodesService instatiates and returns a search service for this client.

func (*RaceCodesService) WithOptions added in v0.0.2

WithOptions executes a request to the usajobs /codelist/racecodes endpoint with the provided options. Pass nil if no options desired.

type RefereeTypeCodesOptions added in v0.0.2

type RefereeTypeCodesOptions struct {
	LastModified string `url:"lastmodified,omitempty"`
}

RefereeTypeCodesOptions are the url query parameters supported by the /codelist/refereetypecodes usajobs api endpoint.

type RefereeTypeCodesResponse added in v0.0.2

type RefereeTypeCodesResponse struct {
	CodeList []struct {
		ValidValue []struct {
			Code         string `json:"Code,omitempty"`
			Value        string `json:"Value,omitempty"`
			LastModified string `json:"LastModified,omitempty"`
			IsDisabled   string `json:"IsDisabled,omitempty"`
		} `json:"ValidValue,omitempty"`
		ID string `json:"id,omitempty"`
	} `json:"CodeList,omitempty"`
	DateGenerated string `json:"DateGenerated,omitempty"`
}

RefereeTypeCodesResponse is the golang struct implementation of all possible response fields from /codelist/refereetypecodes. Consumers are responsible for ensuring omitted fields do not cause errors in consumer implementations.

type RefereeTypeCodesService added in v0.0.2

type RefereeTypeCodesService struct {
	Client *Client
}

RefereeTypeCodesService is used for interacting with the /codelist/refereetypecodes endpoint of the usajobs api.

func NewRefereeTypeCodesService added in v0.0.2

func NewRefereeTypeCodesService(c *Client) *RefereeTypeCodesService

NewRefereeTypeCodesService instatiates and returns a search service for this client.

func (*RefereeTypeCodesService) WithOptions added in v0.0.2

WithOptions executes a request to the usajobs /codelist/refereetypecodes endpoint with the provided options. Pass nil if no options desired.

type RemunerationRateIntervalCodesOptions added in v0.0.2

type RemunerationRateIntervalCodesOptions struct {
	LastModified string `url:"lastmodified,omitempty"`
}

RemunerationRateIntervalCodesOptions are the url query parameters supported by the /codelist/remunerationrateintervalcodes usajobs api endpoint.

type RemunerationRateIntervalCodesResponse added in v0.0.2

type RemunerationRateIntervalCodesResponse struct {
	CodeList []struct {
		ValidValue []struct {
			Code         string `json:"Code,omitempty"`
			Value        string `json:"Value,omitempty"`
			LastModified string `json:"LastModified,omitempty"`
			IsDisabled   string `json:"IsDisabled,omitempty"`
		} `json:"ValidValue,omitempty"`
		ID string `json:"id,omitempty"`
	} `json:"CodeList,omitempty"`
	DateGenerated string `json:"DateGenerated,omitempty"`
}

RemunerationRateIntervalCodesResponse is the golang struct implementation of all possible response fields from /codelist/remunerationrateintervalcodes. Consumers are responsible for ensuring omitted fields do not cause errors in consumer implementations.

type RemunerationRateIntervalCodesService added in v0.0.2

type RemunerationRateIntervalCodesService struct {
	Client *Client
}

RemunerationRateIntervalCodesService is used for interacting with the /codelist/remunerationrateintervalcodes endpoint of the usajobs api.

func NewRemunerationRateIntervalCodesService added in v0.0.2

func NewRemunerationRateIntervalCodesService(c *Client) *RemunerationRateIntervalCodesService

NewRemunerationRateIntervalCodesService instatiates and returns a search service for this client.

func (*RemunerationRateIntervalCodesService) WithOptions added in v0.0.2

WithOptions executes a request to the usajobs /codelist/remunerationrateintervalcodes endpoint with the provided options. Pass nil if no options desired.

type RequiredStandardDocumentsOptions added in v0.0.2

type RequiredStandardDocumentsOptions struct {
	LastModified string `url:"lastmodified,omitempty"`
}

RequiredStandardDocumentsOptions are the url query parameters supported by the /codelist/requiredstandarddocuments usajobs api endpoint.

type RequiredStandardDocumentsResponse added in v0.0.2

type RequiredStandardDocumentsResponse struct {
	CodeList []struct {
		ValidValue []struct {
			Code         string `json:"Code,omitempty"`
			Value        string `json:"Value,omitempty"`
			LastModified string `json:"LastModified,omitempty"`
			IsDisabled   string `json:"IsDisabled,omitempty"`
		} `json:"ValidValue,omitempty"`
		ID string `json:"id,omitempty"`
	} `json:"CodeList,omitempty"`
	DateGenerated string `json:"DateGenerated,omitempty"`
}

RequiredStandardDocumentsResponse is the golang struct implementation of all possible response fields from /codelist/requiredstandarddocuments. Consumers are responsible for ensuring omitted fields do not cause errors in consumer implementations.

type RequiredStandardDocumentsService added in v0.0.2

type RequiredStandardDocumentsService struct {
	Client *Client
}

RequiredStandardDocumentsService is used for interacting with the /codelist/requiredstandarddocuments endpoint of the usajobs api.

func NewRequiredStandardDocumentsService added in v0.0.2

func NewRequiredStandardDocumentsService(c *Client) *RequiredStandardDocumentsService

NewRequiredStandardDocumentsService instatiates and returns a search service for this client.

func (*RequiredStandardDocumentsService) WithOptions added in v0.0.2

WithOptions executes a request to the usajobs /codelist/requiredstandarddocuments endpoint with the provided options. Pass nil if no options desired.

type SearchOptions

type SearchOptions struct {
	Keyword                   string   `url:"Keyword,omitempty"`
	PositionTitle             string   `url:"PositionTitle,omitempty"`
	RemunerationMinimumAmount string   `url:"RemunerationMinimumAmount,omitempty"`
	RemunerationMaximumAmount string   `url:"RemunerationMaximumAmount,omitempty"`
	PayGradeHigh              string   `url:"PayGradeHigh,omitempty"`
	PayGradeLow               string   `url:"PayGradeLow,omitempty"`
	JobCategoryCode           []string `url:"JobCategoryCode,omitempty" del:";"`
	LocationName              []string `url:"LocationName,omitempty" del:";"`
	PostingChannel            []string `url:"PostingChannel,omitempty" del:";"`
	Organization              []string `url:"Organization,omitempty" del:";"`
	PositionOfferingTypeCode  []string `url:"PositionOfferingTypeCode,omitempty" del:";"`
	TravelPercentage          int      `url:"TravelPercentage,omitempty"`
	PositionScheduleTypeCode  []int    `url:"PositionSchedule,omitempty" del:";"`
	RelocationIndicator       bool     `url:"RelocationIndicator,omitempty"`
	SecurityClearanceRequired []int    `url:"SecurityClearanceRequired,omitempty" del:";"`
	SupervisoryStatus         string   `url:"SupervisoryStatus,omitempty"`
	DatePosted                int      `url:"DatePosted,omitempty"`
	JobGradeCode              []int    `url:"JobGradeCode,omitempty" del:";"`
	SortField                 string   `url:"SortField,omitempty"`
	SortDirection             string   `url:"SortDirection,omitempty"`
	Page                      int      `url:"Page,omitempty"`
	ResultsPerPage            int      `url:"ResultsPerPage,omitempty"`
	WhoMayApply               string   `url:"WhoMayApply,omitempty"`
	Radius                    int      `url:"Radius,omitempty"`
	Fields                    string   `url:"Fields,omitempty"`
	HiringPath                []string `url:"HiringPath,omitempty" del:";"`
	PositionSensitivity       []int    `url:"PositionSensitivity,omitempty" del:";"`
	RemoteIndicator           bool     `url:"RemoteIndicator,omitempty"`
}

SearchOptions are most of the url parameters the usajobs api /search api supports. SalaryBucket, GradeBucket, and MissionCriticalTags are query parameters that are not currently supported, mostly because they are duplicative of other options already supported. Submit an issue or PR if this is breaking something you would like to do.

type SearchResponse

type SearchResponse struct {
	LanguageCode     string `json:"LanguageCode,omitempty"`
	SearchParameters struct {
	} `json:"SearchParameters,omitempty"`
	SearchResult struct {
		SearchResultCount    int `json:"SearchResultCount,omitempty"`
		SearchResultCountAll int `json:"SearchResultCountAll,omitempty"`
		SearchResultItems    []struct {
			MatchedObjectID         string `json:"MatchedObjectId,omitempty"`
			MatchedObjectDescriptor struct {
				PositionID              string   `json:"PositionID,omitempty"`
				PositionTitle           string   `json:"PositionTitle,omitempty"`
				PositionURI             string   `json:"PositionURI,omitempty"`
				ApplyURI                []string `json:"ApplyURI,omitempty"`
				PositionLocationDisplay string   `json:"PositionLocationDisplay,omitempty"`
				PositionLocation        []struct {
					LocationName           string  `json:"LocationName,omitempty"`
					CountryCode            string  `json:"CountryCode,omitempty"`
					CountrySubDivisionCode string  `json:"CountrySubDivisionCode,omitempty"`
					CityName               string  `json:"CityName,omitempty"`
					Longitude              float64 `json:"Longitude,omitempty"`
					Latitude               float64 `json:"Latitude,omitempty"`
				} `json:"PositionLocation,omitempty"`
				OrganizationName string `json:"OrganizationName,omitempty"`
				DepartmentName   string `json:"DepartmentName,omitempty"`
				JobCategory      []struct {
					Name string `json:"Name,omitempty"`
					Code string `json:"Code,omitempty"`
				} `json:"JobCategory,omitempty"`
				JobGrade []struct {
					Code string `json:"Code,omitempty"`
				} `json:"JobGrade,omitempty"`
				PositionSchedule []struct {
					Name string `json:"Name,omitempty"`
					Code string `json:"Code,omitempty"`
				} `json:"PositionSchedule,omitempty"`
				PositionOfferingType []struct {
					Name string `json:"Name,omitempty"`
					Code string `json:"Code,omitempty"`
				} `json:"PositionOfferingType,omitempty"`
				QualificationSummary string `json:"QualificationSummary,omitempty"`
				PositionRemuneration []struct {
					MinimumRange     string `json:"MinimumRange,omitempty"`
					MaximumRange     string `json:"MaximumRange,omitempty"`
					RateIntervalCode string `json:"RateIntervalCode,omitempty"`
					Description      string `json:"Description,omitempty"`
				} `json:"PositionRemuneration,omitempty"`
				PositionStartDate            string `json:"PositionStartDate,omitempty"`
				PositionEndDate              string `json:"PositionEndDate,omitempty"`
				PublicationStartDate         string `json:"PublicationStartDate,omitempty"`
				ApplicationCloseDate         string `json:"ApplicationCloseDate,omitempty"`
				PositionFormattedDescription []struct {
					Content          string `json:"Content,omitempty"`
					Label            string `json:"Label,omitempty"`
					LabelDescription string `json:"LabelDescription,omitempty"`
				} `json:"PositionFormattedDescription,omitempty"`
				UserArea struct {
					Details struct {
						MajorDuties       []string `json:"MajorDuties,omitempty"`
						Education         string   `json:"Education,omitempty"`
						Requirements      string   `json:"Requirements,omitempty"`
						Evaluations       string   `json:"Evaluations,omitempty"`
						HowToApply        string   `json:"HowToApply,omitempty"`
						WhatToExpectNext  string   `json:"WhatToExpectNext,omitempty"`
						RequiredDocuments string   `json:"RequiredDocuments,omitempty"`
						Benefits          string   `json:"Benefits,omitempty"`
						BenefitsURL       string   `json:"BenefitsUrl,omitempty"`
						OtherInformation  string   `json:"OtherInformation,omitempty"`
						KeyRequirements   []any    `json:"KeyRequirements,omitempty"`
						JobSummary        string   `json:"JobSummary,omitempty"`
						WhoMayApply       struct {
							Name string `json:"Name,omitempty"`
							Code string `json:"Code,omitempty"`
						} `json:"WhoMayApply,omitempty"`
						LowGrade          string `json:"LowGrade,omitempty"`
						HighGrade         string `json:"HighGrade,omitempty"`
						SubAgencyName     string `json:"SubAgencyName,omitempty"`
						OrganizationCodes string `json:"OrganizationCodes,omitempty"`
					} `json:"Details,omitempty"`
					IsRadialSearch bool `json:"IsRadialSearch,omitempty"`
				} `json:"UserArea,omitempty"`
			} `json:"MatchedObjectDescriptor,omitempty"`
			RelevanceRank float64 `json:"RelevanceRank,omitempty"`
		} `json:"SearchResultItems,omitempty"`
		UserArea struct {
			Refiners struct {
				Organization []struct {
					RefinementName  string `json:"RefinementName,omitempty"`
					RefinementCount string `json:"RefinementCount,omitempty"`
					RefinementToken string `json:"RefinementToken,omitempty"`
					RefinementValue string `json:"RefinementValue,omitempty"`
				} `json:"Organization,omitempty"`
				GradeBucket []struct {
					RefinementName  string `json:"RefinementName,omitempty"`
					RefinementCount string `json:"RefinementCount,omitempty"`
					RefinementToken string `json:"RefinementToken,omitempty"`
					RefinementValue string `json:"RefinementValue,omitempty"`
				} `json:"GradeBucket,omitempty"`
				SalaryBucket []struct {
					RefinementName  string `json:"RefinementName,omitempty"`
					RefinementCount string `json:"RefinementCount,omitempty"`
					RefinementToken string `json:"RefinementToken,omitempty"`
					RefinementValue string `json:"RefinementValue,omitempty"`
				} `json:"SalaryBucket,omitempty"`
				PositionOfferingTypeCode []struct {
					RefinementName  string `json:"RefinementName,omitempty"`
					RefinementCount string `json:"RefinementCount,omitempty"`
					RefinementToken string `json:"RefinementToken,omitempty"`
					RefinementValue string `json:"RefinementValue,omitempty"`
				} `json:"PositionOfferingTypeCode,omitempty"`
				PositionScheduleTypeCode []struct {
					RefinementName  string `json:"RefinementName,omitempty"`
					RefinementCount string `json:"RefinementCount,omitempty"`
					RefinementToken string `json:"RefinementToken,omitempty"`
					RefinementValue string `json:"RefinementValue,omitempty"`
				} `json:"PositionScheduleTypeCode,omitempty"`
				JobCategoryCode []struct {
					RefinementName  string `json:"RefinementName,omitempty"`
					RefinementCount string `json:"RefinementCount,omitempty"`
					RefinementToken string `json:"RefinementToken,omitempty"`
					RefinementValue string `json:"RefinementValue,omitempty"`
				} `json:"JobCategoryCode,omitempty"`
			} `json:"Refiners,omitempty"`
			NumberOfPages  string `json:"NumberOfPages,omitempty"`
			IsRadialSearch bool   `json:"IsRadialSearch,omitempty"`
		} `json:"UserArea,omitempty"`
	} `json:"SearchResult,omitempty"`
}

SearchResponse is the golang struct implementation of all possible response fields from /search. Consumers are responsible for ensuring omitted fields do not cause errors in consumer implementations.

type SearchService

type SearchService struct {
	Client *Client
}

SearchService is used for interacting with the /search endpoint of the usajobs api.

func NewSearchService

func NewSearchService(c *Client) *SearchService

NewSearchService instatiates and returns a search service for this client.

func (*SearchService) WithOptions

func (s *SearchService) WithOptions(opt *SearchOptions) (*http.Response, SearchResponse, error)

WithOptions executes a request to the usajobs /search endpoint with the provided search options. Pass nil if no search options desired.

type SecurityClearancesOptions added in v0.0.2

type SecurityClearancesOptions struct {
	LastModified string `url:"lastmodified,omitempty"`
}

SecurityClearancesOptions are the url query parameters supported by the /codelist/securityclearances usajobs api endpoint.

type SecurityClearancesResponse added in v0.0.2

type SecurityClearancesResponse struct {
	CodeList []struct {
		ValidValue []struct {
			Code         string `json:"Code,omitempty"`
			Value        string `json:"Value,omitempty"`
			LastModified string `json:"LastModified,omitempty"`
			IsDisabled   string `json:"IsDisabled,omitempty"`
		} `json:"ValidValue,omitempty"`
		ID string `json:"id,omitempty"`
	} `json:"CodeList,omitempty"`
	DateGenerated string `json:"DateGenerated,omitempty"`
}

SecurityClearancesResponse is the golang struct implementation of all possible response fields from /codelist/securityclearances. Consumers are responsible for ensuring omitted fields do not cause errors in consumer implementations.

type SecurityClearancesService added in v0.0.2

type SecurityClearancesService struct {
	Client *Client
}

SecurityClearancesService is used for interacting with the /codelist/securityclearances endpoint of the usajobs api.

func NewSecurityClearancesService added in v0.0.2

func NewSecurityClearancesService(c *Client) *SecurityClearancesService

NewSecurityClearancesService instatiates and returns a search service for this client.

func (*SecurityClearancesService) WithOptions added in v0.0.2

WithOptions executes a request to the usajobs /codelist/securityclearances endpoint with the provided options. Pass nil if no options desired.

type ServiceTypesOptions added in v0.0.2

type ServiceTypesOptions struct {
	LastModified string `url:"lastmodified,omitempty"`
}

ServiceTypesOptions are the url query parameters supported by the /codelist/servicetypes usajobs api endpoint.

type ServiceTypesResponse added in v0.0.2

type ServiceTypesResponse struct {
	CodeList []struct {
		ValidValue []struct {
			Code         string `json:"Code,omitempty"`
			Value        string `json:"Value,omitempty"`
			LastModified string `json:"LastModified,omitempty"`
			IsDisabled   string `json:"IsDisabled,omitempty"`
		} `json:"ValidValue,omitempty"`
		ID string `json:"id,omitempty"`
	} `json:"CodeList,omitempty"`
	DateGenerated string `json:"DateGenerated,omitempty"`
}

ServiceTypesResponse is the golang struct implementation of all possible response fields from /codelist/servicetypes. Consumers are responsible for ensuring omitted fields do not cause errors in consumer implementations.

type ServiceTypesService added in v0.0.2

type ServiceTypesService struct {
	Client *Client
}

ServiceTypesService is used for interacting with the /codelist/servicetypes endpoint of the usajobs api.

func NewServiceTypesService added in v0.0.2

func NewServiceTypesService(c *Client) *ServiceTypesService

NewServiceTypesService instatiates and returns a search service for this client.

func (*ServiceTypesService) WithOptions added in v0.0.2

WithOptions executes a request to the usajobs /codelist/servicetypes endpoint with the provided options. Pass nil if no options desired.

type SpecialHiringsOptions added in v0.0.2

type SpecialHiringsOptions struct {
	LastModified string `url:"lastmodified,omitempty"`
}

SpecialHiringsOptions are the url query parameters supported by the /codelist/specialhirings usajobs api endpoint.

type SpecialHiringsResponse added in v0.0.2

type SpecialHiringsResponse struct {
	CodeList []struct {
		ValidValue []struct {
			Code         string `json:"Code,omitempty"`
			Value        string `json:"Value,omitempty"`
			LastModified string `json:"LastModified,omitempty"`
			IsDisabled   string `json:"IsDisabled,omitempty"`
		} `json:"ValidValue,omitempty"`
		ID string `json:"id,omitempty"`
	} `json:"CodeList,omitempty"`
	DateGenerated string `json:"DateGenerated,omitempty"`
}

SpecialHiringsResponse is the golang struct implementation of all possible response fields from /codelist/specialhirings. Consumers are responsible for ensuring omitted fields do not cause errors in consumer implementations.

type SpecialHiringsService added in v0.0.2

type SpecialHiringsService struct {
	Client *Client
}

SpecialHiringsService is used for interacting with the /codelist/specialhirings endpoint of the usajobs api.

func NewSpecialHiringsService added in v0.0.2

func NewSpecialHiringsService(c *Client) *SpecialHiringsService

NewSpecialHiringsService instatiates and returns a search service for this client.

func (*SpecialHiringsService) WithOptions added in v0.0.2

WithOptions executes a request to the usajobs /codelist/specialhirings endpoint with the provided options. Pass nil if no options desired.

type TravelPercentagesOptions added in v0.0.2

type TravelPercentagesOptions struct {
	LastModified string `url:"lastmodified,omitempty"`
}

TravelPercentagesOptions are the url query parameters supported by the /codelist/travelpercentages usajobs api endpoint.

type TravelPercentagesResponse added in v0.0.2

type TravelPercentagesResponse struct {
	CodeList []struct {
		ValidValue []struct {
			Code         string `json:"Code,omitempty"`
			Value        string `json:"Value,omitempty"`
			LastModified string `json:"LastModified,omitempty"`
			IsDisabled   string `json:"IsDisabled,omitempty"`
		} `json:"ValidValue,omitempty"`
		ID string `json:"id,omitempty"`
	} `json:"CodeList,omitempty"`
	DateGenerated string `json:"DateGenerated,omitempty"`
}

TravelPercentagesResponse is the golang struct implementation of all possible response fields from /codelist/travelpercentages. Consumers are responsible for ensuring omitted fields do not cause errors in consumer implementations.

type TravelPercentagesService added in v0.0.2

type TravelPercentagesService struct {
	Client *Client
}

TravelPercentagesService is used for interacting with the /codelist/travelpercentages endpoint of the usajobs api.

func NewTravelPercentagesService added in v0.0.2

func NewTravelPercentagesService(c *Client) *TravelPercentagesService

NewTravelPercentagesService instatiates and returns a search service for this client.

func (*TravelPercentagesService) WithOptions added in v0.0.2

WithOptions executes a request to the usajobs /codelist/travelpercentages endpoint with the provided options. Pass nil if no options desired.

type WhoMayApplyOptions added in v0.0.2

type WhoMayApplyOptions struct {
	LastModified string `url:"lastmodified,omitempty"`
}

WhoMayApplyOptions are the url query parameters supported by the /codelist/whomayapply usajobs api endpoint.

type WhoMayApplyResponse added in v0.0.2

type WhoMayApplyResponse struct {
	CodeList []struct {
		ValidValue []struct {
			Code         string `json:"Code,omitempty"`
			Value        string `json:"Value,omitempty"`
			LastModified string `json:"LastModified,omitempty"`
			IsDisabled   string `json:"IsDisabled,omitempty"`
		} `json:"ValidValue,omitempty"`
		ID string `json:"id,omitempty"`
	} `json:"CodeList,omitempty"`
	DateGenerated string `json:"DateGenerated,omitempty"`
}

WhoMayApplyResponse is the golang struct implementation of all possible response fields from /codelist/whomayapply. Consumers are responsible for ensuring omitted fields do not cause errors in consumer implementations.

type WhoMayApplyService added in v0.0.2

type WhoMayApplyService struct {
	Client *Client
}

WhoMayApplyService is used for interacting with the /codelist/whomayapply endpoint of the usajobs api.

func NewWhoMayApplyService added in v0.0.2

func NewWhoMayApplyService(c *Client) *WhoMayApplyService

NewWhoMayApplyService instatiates and returns a search service for this client.

func (*WhoMayApplyService) WithOptions added in v0.0.2

WithOptions executes a request to the usajobs /codelist/whomayapply endpoint with the provided options. Pass nil if no options desired.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL